Jump to content

What does content: "."; do? in globall.css


Recommended Posts

Hi,

That is used to place stuff in the :before and :after pseudo clases. It can be left as well, and it usually is. I don't know why prestashop put a dot inside. Basically, it's used when trying to achieve the "double border" effect with position relative on the original element, and position absolute on the pseudo classes.

 

more about this

http://www.w3schools.com/css/css_pseudo_elements.asp

Link to comment
Share on other sites

Uhm actually i told you

 

Hi,

That is used to place stuff in the :before and :after pseudo clases. It can be left as well, and it usually is. I don't know why prestashop put a dot inside.

 

So the period there is just a placeholder, it doesn't do anything :)

Link to comment
Share on other sites

×
×
  • Create New...