General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Xmetal tag styling based on condition

Tagged: , ,

  • Roopesh79

    Xmetal tag styling based on condition

    Participants 0
    Replies 0
    Last Activity 1 year, 2 months ago

    Hello Developers,

    I was able to do some level of customization for coloring xml tags based on condition. I want to set the background color for some element which do not have a specific child element.
    ex: figure without image element
    [class~=”topic/fig”]>not([class~=”topic/image”]) {
    background-color:red;
    }

    some one can help me on correcting the right syntax for the above css stying?.

    Thanks in Advance

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support