And with François Robichet (@calvein)
Pseudo-classes
Pseudo-classes selectors, filter stuff to the selected element.
Pseudo-elements, add a fake element to the selected element.
Imagine this HTML
<ul>
<li>Bonjour
<li>SydCSS
</ul>
This code will select all the <li>
,
and then them filter to get the first from the parent.
li:first-child {}
While this one will add an empty element before
the content of all the <li>
s.
li:before {}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
Lorem ipsum dolor sit amet, consecteturadipisicing elit, sed do eiusmod tempor
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
It's tricky to write about TowerFall Ascension without sounding like a child — mostly because it's a powerful distillery of childlike glee.
I can say, without an ounce of hyperbole, that I have never shouted, cheered or laughed so much playing a game in my life. TowerFall Ascension is designed to evoke these reactions in every single match, and it always, always does. Regardless of how its settings and variables have been tinkered, or the relative skill levels of its players, the matchup is exciting and dynamic every single time.
color
, background
, background-color
and text-shadow
'string'
url(URI)
attr(ATTR)
counter
and quote
stufffrancois@robichet.com
francois@robichet.com
francois@robichet.com
I have a bullet point
I have a tick
From HTML5 boilerplate, used by Bootstrap.
.clearfix:before,
.clearfix:after {
content: " ";
display: table;
}
.clearfix:after {
clear: both;
}
I'm aligned Me too
François Robichet (@calvein)
http://bit.ly/pseudo-elements-talk