Top "Pseudo-element" questions

CSS pseudo-elements allow for an enhanced display of content within elements or the ability to generate extra beginning or ending content for elements.

Using CSS :before and :after pseudo-elements with inline CSS?

I'm making an HTML email signature with inline CSS (i.e. CSS in style attributes), and I am curious as …

html css css-selectors pseudo-element inline-styles
CSS content property: is it possible to insert HTML instead of Text?

Just wondering if it's possible somehow to make the CSS content property insert html code instead string on :before or :…

html css pseudo-element css-content
sass :first-child not working

I have not been using SASS for a very long time and wanted to know if there are some issues …

css sass pseudo-element
Can I have multiple :before pseudo-elements for the same element?

Is it possible to have multiple :before pseudos for the same element? .circle:before { content: "\25CF"; font-size: 19px; } .now:before{ …

css css-selectors pseudo-element css-content
CSS pseudo elements in React

I'm building React components. I have added CSS inline in the components as suggested in this brilliant presentation by one …

javascript css reactjs pseudo-element
css rotate a pseudo :after or :before content:""

anyway to make a rotation work on the pseudo content:"\24B6"? I'm trying to rotate a unicode symbol.

css rotation pseudo-element
:after and :before css pseudo elements hack for IE 7

I am using :after and :before css pseudo elements and it is working fine in IE8, and all modern browsers …

html css internet-explorer-7 pseudo-element
Proper way to position :before pseudo-elements

What is the proper way to position :before and :after pseudo-elements, like pictures? I've been messing around with a bunch …

css pseudo-element
Why don't :before and :after pseudo elements work with `img` elements?

I am trying to use a :before pseudo element with an img element. Consider this HTML and CSS... HTML <…

css pseudo-element css-content
Center a Pseudo Element

First time really using the pseudo :after selector. Not sure if the problem I'm running into is a limitation of …

css pseudo-element