1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

edit app.css/counter

This commit is contained in:
ruanyf 2014-05-14 12:50:27 +08:00
parent 632542b94b
commit 356bca769b

View File

@ -114,6 +114,8 @@ body {
line-height:1.3rem;
/* border: 1px solid black; */
counter-reset: section;
}
@media (min-width: 40rem) {
@ -167,6 +169,12 @@ body {
text-align: left;
border-top: 2px solid #666;
counter-increment: section;
}
#content h2:before {
content: counters(section, ".") " ";
}
#content h3 {