body { counter-reset: pagecount; } .slide { counter-increment: pagecount; } .slide:after { content: counter(pagecount); position: absolute; bottom: 2rem; left: 1rem; color: pink; }
Estelle Weyl | @estellevw | Github | Press → to advance,
body { counter-reset: pagecount; } .slide { counter-increment: pagecount; } .slide:after { content: counter(pagecount); position: absolute; bottom: 2rem; left: 1rem; color: pink; }
:enabled :invalid :placeholder-shown :disabled :in-range :user-error :checked :out-of-range :indeterminate :default :required :read-only :valid :optional :read-writeTest page
* { 0 - 0 - 0 } li, p, ::before { 0 - 0 - 1 } .class, [type] { 0 - 1 - 0 } #soPowerful { 1 - 0 - 0 }
ul > li { 0 - 0 - 2 } ul li { 0 - 0 - 2 } li ~ li { 0 - 0 - 2 } li:nth-of-type(n+2) { 0 - 1 - 1 } h1 + h2 { 0 - 0 - 2 } header h2 { 0 - 0 - 2 }
li { 0 - 0 - 1 } :not(li) { 0 - 0 - 1 } .someClass { 0 - 1 - 0 } :not(.someClass) { 0 - 1 - 0 } #someId { 1 - 0 - 0 } :not(#someId) { 1 - 0 - 0 } input[type=checkbox] { 0 - 1 - 1 } input:not([type=checkbox]) { 0 - 1 - 1 }
.disabled {cursor: default !important;} p.btn {cursor: pointer;}
.disabled.disabled.disabled {cursor: default;} p.btn {cursor: pointer;}
@keyframes pedal { 100% {background-position: -360px 0;}}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 329" preserveAspectRatio="xMidYMid meet"> <title>Clown Car</title> <style> svg { background-size: auto; background-repeat: no-repeat; } @media screen and (max-width: 300px) { svg {background-image: url(images/small.png); background-size: 158px; } } @media screen and (min-width: 301px) and (max-width: 600px) { svg {background-image: url(images/medium.png); background-size: 300px;} } @media screen and (min-width: 601px) and (max-width: 900px) { svg {background-image: url(images/big.png); background-size: 600px;} } @media screen and (min-width: 901px) { svg {background-image: url(images/huge.png); background-size: 900px;} } </style> </svg>