this post was submitted on 27 Jan 2025
26 points (93.3% liked)
Programming
18018 readers
94 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I appreciate the rundown! I started getting used to Emmet now, it's certainly more friendly than it looks. I think this is what I was looking for.
The short-hand for CSS in Emmet is also pretty neat, but It'll take some time to get used to it.
w75p m10
turns intowidth: 75%; margin:10px
I would advise against using pixels for margin/padding since it'll have issues for users who have different zoom/text sizes than you do.
Stick to rem for margin and padding.
If you're still early days with css, it's worth pointing out that you should use a "css reset" file. It will solve problems for you that you don't even know exist yet.