Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Lochkartenprogrammierung mit CSS
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Fabricius Seifert
November 20, 2017
Programming
0
21
Lochkartenprogrammierung mit CSS
Fabricius Seifert
November 20, 2017
Tweet
Share
More Decks by Fabricius Seifert
See All by Fabricius Seifert
3D in CSS
briziel
1
19
Punchcard Coding in Css [EN / Lightning Version]
briziel
0
46
Other Decks in Programming
See All in Programming
CSC307 Lecture 05
javiergs
PRO
0
500
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
450
CSC307 Lecture 04
javiergs
PRO
0
660
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
200
Data-Centric Kaggle
isax1015
2
770
CSC307 Lecture 03
javiergs
PRO
1
490
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
960
Grafana:建立系統全知視角的捷徑
blueswen
0
330
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
720
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
230
Fragmented Architectures
denyspoltorak
0
150
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Designing for humans not robots
tammielis
254
26k
Ethics towards AI in product and experience design
skipperchong
2
190
Context Engineering - Making Every Token Count
addyosmani
9
650
Art, The Web, and Tiny UX
lynnandtonic
304
21k
The browser strikes back
jonoalderson
0
370
Designing Powerful Visuals for Engaging Learning
tmiket
0
230
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Statistics for Hackers
jakevdp
799
230k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
700
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
420
My Coaching Mixtape
mlcsv
0
47
Transcript
LOCHKARTEN PROGRAMMIERUNG
LOCHKARTEN PROGRAMMIERUNG IN CSS
Fabricius Seifert Softwaregestalter @briziel
CSS
✨ CSS ✨
None
None
None
Zustand
None
None
selector:hover { property: value; }
None
html + CSS
<input type=“checkbox“> input:checked { property: value; }
<input type=“radio“> input:checked { property: value; }
WARNUNG! Die folgenden Demos wurden von Profis oder unter deren
Aufsicht erstellt. Bitte verzichtet daher im Interesse eures Kunden derartige Hacks in die Production zu deployen. Danke!
Toggle
<input type=“checkbox“ id=“cb1“> <label id=“label1“ for=“cb1“> <!-- klickbare elemente -->
</label> <div class=“entry1“> <!-- alles was reagieren soll --> </div>
<input type=“checkbox“ id=“cb1“> <label id=“label1“ for=“cb1“> <!-- klickbare elemente -->
</label> <div class=“entry1“> <!-- alles was reagieren soll --> </div>
p + p { … } <div> <p> <div> <p>
<p> </div>
p + p { … } <div> <p> <div> <p>
<p> </div>
p ~ p { … } <div> <p> <div> <p>
<p> </div>
p ~ p { … } <div> <p> <div> <p>
<p> </div>
<input type=“checkbox“ id=“cb1“> <label id=“label1“ for=“cb1“> <!-- klickbare elemente -->
</label> <div class=“entry1“> <!-- alles was reagieren soll --> </div>
#cb1 + #label1 { background-color: blue; } #cb1:checked + #label1
{ background-color: red; }
<input type=“checkbox“ id=“cb1“> <label id=“label1“ for=“cb1“> <!-- klickbare elemente -->
</label> <div class=“entry1“> <!-- alles was reagieren soll --> </div>
#cb1 ~ .entry1 { background-color: blue; } #cb1:checked ~ .entry
{ background-color: red; }
Counter
None
None
None
None
None
None
#rb11:checked { counter-increment: einer 1; } #rb12:checked { counter-increment: einer
2; } …
#rb21:checked { counter-increment: zehner 1; } #rb22:checked { counter-increment: zehner
2; } …
#zahl::before { content: counter(zehner) ““ counter(einer); }
animated gifs ♥
None
None
255 0
255 0
.pixel { mix-blend-mode: screen; }
None
None
@keyframes frame1 { 0%, 10% { opacity: 1; } 10.01%,
100% { opacity: 0; } }
@keyframes frame2 { 0%, 10% { opacity: 0; } 10.01%,
20% { opacity: 1; } 20.01%, 100% { opacity: 0; } }
single page application
Takeaways • mit :checked zum persistenten Zustand • sibling-selector (
~ ) • counter-increment und content: counter(…) • keyframe animationen
Danke! @briziel