Top "Css-content" questions

CSS Generated Content allows us to insert and move content around a document.

How to avoid line breaks after ":before" in CSS

On my website I'm using font icons for certain link types. These icons are added via :before CSS syntax. a.…

css css-content
Div with CSS content, after pseudo element is not visible

I have a POC that I have to complete and I am only allowed to use CSS to update the …

css pseudo-element css-content
Can CSS Content Property work in IE7?

I came across with CSS content property, which it is able to add text into element. for example: .class:after{ …

css css-selectors cross-browser internet-explorer-7 css-content
Multiple content: attr() values

I'm trying to display 2 things in my elements; the class name and an own created data-size variable. Seperated with one …

html css pseudo-element css-content
css :after content not underlined

To seperate the links in navigation I have set the following #menu-main li a:after{ content: " * "; } The current item gets …

css pseudo-class underline text-decorations css-content
how to make text change when you hover over it without it twitching?

As I understand it, CSS can be used to change the content of an element on :hover in a basic …

css hover pseudo-element css-content
'content' attribute to inherit node value

Is there a way to inherit node value into content attribute? Like, if <h2/> tag value is set …

css css-content