Reported by:

carp can’t code haha shut up carp let the REAL pros handle things


https://i.rdrama.net/images/17334134537326243.webp

125
Jump in the discussion.

No email address required.

Html is more flexible when you div everything and add css imo. My colleague who works at FB taught me this. That way you don't inherit weird styling like how p tags have their own in built css

Jump in the discussion.

No email address required.

another important trick is to have one CSS class per element, and only use selectors when absolutely necessary (google does this)

you copy a bit of code, but spend far less time disentangling relationships and always know which CSS can be safely removed

Jump in the discussion.

No email address required.

CSS singlehandedly destroys any attempts at responsible code modularization and reuse. You will always be fricked in the butt if you try to inherit or compose styles in any way.

Jump in the discussion.

No email address required.

It's not going away, just get comfortable with mixins and watch out for inheritance and you should be good

Jump in the discussion.

No email address required.

Mixins are actually p good I'll admit, lets you reuse common rules without your html looking like a bootstrap cute twink wrote it

Jump in the discussion.

No email address required.

also never use semantic html like <header> tags or <footer> tags because that increases accessibility

Jump in the discussion.

No email address required.



Now playing: Blurry Flurry (Tropical Freeze).mp3

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.