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
Fabricius Seifert
November 20, 2017
Programming
0
19
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
17
Punchcard Coding in Css [EN / Lightning Version]
briziel
0
44
Other Decks in Programming
See All in Programming
Modern Angular with Signals and Signal Store:New Rules for Your Architecture @enterJS Advanced Angular Day 2025
manfredsteyer
PRO
0
270
ISUCON研修おかわり会 講義スライド
arfes0e2b3c
1
470
Model Pollution
hschwentner
1
160
DMMを支える決済基盤の技術的負債にどう立ち向かうか / Addressing Technical Debt in Payment Infrastructure
yoshiyoshifujii
3
410
Android 16KBページサイズ対応をはじめからていねいに
mine2424
0
440
ソフトウェア設計とAI技術の活用
masuda220
PRO
17
3.5k
ふつうの技術スタックでアート作品を作ってみる
akira888
1
1.3k
ニーリーにおけるプロダクトエンジニア
nealle
0
950
システム成長を止めない!本番無停止テーブル移行の全貌
sakawe_ee
1
360
Flutterで備える!Accessibility Nutrition Labels完全ガイド
yuukiw00w
0
170
おやつのお供はお決まりですか?@WWDC25 Recap -Japan-\(region).swift
shingangan
0
140
TypeScriptでDXを上げろ! Hono編
yusukebe
3
770
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Raft: Consensus for Rubyists
vanstee
140
7k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
990
The Cost Of JavaScript in 2023
addyosmani
51
8.6k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Thoughts on Productivity
jonyablonski
69
4.7k
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