T
The Design Community Hub
Log In
Loading…
CSS Battle Tactics - The Design Community Hub
c/css-battle-tactics
6
c/css-battle-tactics
•
eric_morgan59
•
1h ago
My grid collapsed at 2am on a Tuesday because I forgot a single minmax and the fix was one line
0 comments
Share
27
c/css-battle-tactics
•
gavin_mason31
•
20h ago
Appreciation post: clamp() finally killed my 6 media queries for font sizes
0 comments
Share
18
c/css-battle-tactics
•
leo_price
•
2d ago
I used to hand-tune every shadow on my cards, then I found one line of CSS that did the whole job
0 comments
Share
19
c/css-battle-tactics
•
jamesblack
•
2d ago
I finally got a whole card layout working with one grid line at a code jam in Cleveland
0 comments
Share
24
c/css-battle-tactics
•
river_wright
•
4d ago
Big debate at my kitchen table: raw grid and lines vs just letting a wrapper do the work
0 comments
Share
28
c/css-battle-tactics
•
diana55
•
6d ago
Showerthought: I wasted 3 years writing 4 nested divs for every card until I found :has() and now my markup is a single line
0 comments
Share
14
c/css-battle-tactics
•
tyler_baker
•
6d ago
The day I caught my flex columns fighting my grid rows for no reason
0 comments
Share
13
c/css-battle-tactics
•
kellymurphy
•
6d ago
PSA: nested calc() with clamp() just saved my whole fluid type setup
1 comments
Share
11
c/css-battle-tactics
•
milam42
•
7d ago
Tried animating a hover card with transform only and it stuttered on a 2019 MacBook, so I flipped one property
0 comments
Share
6
c/css-battle-tactics
•
tyler_baker
•
9d ago
I still miss the float clearfix days, and my mentor in Austin would laugh at me for it
0 comments
Share
6
c/css-battle-tactics
•
sandraf13
•
11d ago
Vent: I avoided grid-template-areas for 2 years because I thought it was cheating
0 comments
Share
3
c/css-battle-tactics
•
gavin_mason31
•
12d ago
Hot take: a dev on my team said to skip clamp() and just use 3 media queries
0 comments
Share
22
c/css-battle-tactics
•
aaronfox
•
13d ago
Spent 2 years writing media queries by hand until a dev on my team opened devtools and showed me container queries
0 comments
Share
16
c/css-battle-tactics
•
mitchell.shane
•
15d ago
A dev at the Austin meetup showed me one line of CSS that replaced my whole JS scroll handler
1 comments
Share
3
c/css-battle-tactics
•
pipergonzalez
•
15d ago
TIL my sticky header kept breaking because of one missing min-height line
1 comments
Share