Research for a blog post: How do you usually write most of your CSS? Method A or B? (Screenshots in reply)

codepen.io/matuzo/pen/KKBVEaK

Follow

@matuzo
I use method C, so things are even clearer (especially when debugging):

a {
display: flex;
}

@media (max-width: 1023px) {
a {
flex-direction: column;
gap: 1rem;
}.
}

@media (min-width: 1024px) {
.a {
flex-direction: row;
gap: 2rem;
}
}

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.