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.

see: css pseudo-classes inline styles


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -