Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

Which CSS Specificity rules are supported? #229

Open
yisibl opened this issue Feb 22, 2021 · 1 comment
Open

Which CSS Specificity rules are supported? #229

yisibl opened this issue Feb 22, 2021 · 1 comment

Comments

@yisibl
Copy link
Contributor

yisibl commented Feb 22, 2021

<svg xmlns="http://www.w3.org/2000/svg">
    <style>
    .foo {
        fill: green !important;
    }

    .bar {
        fill: red;
    }

    svg > .bar {
        fill: blue !important;
    }

    :root .bar {
   	    fill: yellow !important;
    }
    </style>
    <circle class="foo bar" cx="50" cy="50" r="50" />
</svg>
@yisibl yisibl changed the title Which CSS Specificity selectors are supported? Which CSS Specificity rules are supported? Feb 22, 2021
@RazrFalcon
Copy link
Owner

!important is not supported. As most of the CSS.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants