Init
This commit is contained in:
parent
eb9042998f
commit
23da6927fc
31
HowtoCSS.md
Normal file
31
HowtoCSS.md
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
## Sélections
|
||||||
|
|
||||||
|
~~~
|
||||||
|
<p class='maclass'><span id='premier'>Un jour j'écrirai</span> <span id='monid'>mon texte</span>.</p>
|
||||||
|
~~~
|
||||||
|
|
||||||
|
Selon :
|
||||||
|
|
||||||
|
- id :
|
||||||
|
|
||||||
|
~~~
|
||||||
|
#monid { /* ... */ }
|
||||||
|
~~~
|
||||||
|
|
||||||
|
- class :
|
||||||
|
|
||||||
|
~~~
|
||||||
|
.maclass { /* ... */ }
|
||||||
|
~~~
|
||||||
|
|
||||||
|
- balise + id :
|
||||||
|
|
||||||
|
~~~
|
||||||
|
span#monid { /* ... */ }
|
||||||
|
~~~
|
||||||
|
|
||||||
|
- le premier élément ayant comme parent :
|
||||||
|
|
||||||
|
~~~
|
||||||
|
|
||||||
|
~~~
|
Loading…
Reference in a new issue