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
CDKコントリビュートの最初の壁を越えよう! -簡単issueの見つけ方-
badmintoncryer
2
110
エンターテイメント業界で利用されるAWS
demuyan
0
210
TYPO3 v13 – The road to LTS: What's new and new APIs
luisasofie_xoxo
0
210
Java 22 Overview
kishida
1
190
Prepare for Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
880
使ってみよう Azure AI Document Intelligence
kosmosebi
2
330
SwiftUIで使いやすいToastの作り方 / How to build a Toast system which is easy to use in SwiftUI
lovee
3
150
Snowflakeで眠ったデータを起こそう!
estie
0
120
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
840
0→1と1→10の狭間で Javaという技術選定を振り返る/Reflecting on the Decision to Choose Java Between Scaling from 0 to 1 and 1 to 10
jaguar_imo
2
390
VSCodeでのDatabricks開発もお勧めしたい/I would also recommend Databricks development with VSCode.
kazumain
0
260
PHPはいつから死んでいるかの調査
chiroruxx
1
400
Featured
See All Featured
Navigating Team Friction
lara
178
13k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.6k
4 Signs Your Business is Dying
shpigford
175
21k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
25
2.3k
Web development in the modern age
philhawksworth
202
10k
The Pragmatic Product Professional
lauravandoore
25
5.8k
Bash Introduction
62gerente
604
210k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Writing Fast Ruby
sferik
621
60k
[RailsConf 2023] Rails as a piece of cake
palkan
23
4k
Happy Clients
brianwarren
92
6.4k
Infographics Made Easy
chrislema
238
18k
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