html5 - How do I inline the :before element when unable to include a CSS/style section? -
i'm looking style li element, , modify css property:
li:before { color: blue; }
however, restricted using html, inline, styling. don't have access section of document i'm working on.
is trying do, doable, and, if so, how?
in css, inline styles take precedence on linked css files, li elements:-
<li style="color: red;">this list item</li>
and take precedence on either linked stylesheet, or internal stylesheet.
if you're wanting use more complex selectors, you're out of luck unfortunately.
Comments
Post a Comment