Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
Post image 6
Post image 7
Post image 8
Post image 9
Post image 10
Post image 11
1 / 11
0

CSS isn't hard

DEV Community: css·Brendon O'Neill·about 1 month ago
#RN3c6oNB
#dev#rect#sub#class#code#highlight
Reading 0:00
15s threshold

When I’m browsing the web, I notice that CSS gets a lot of hate. Honestly, I get it, because I used to hate CSS too. But that was before I properly understood how it worked. Most of my frustration came from not really knowing what CSS was doing behind the scenes. A lot of people jump straight into frameworks like Tailwind without learning the basics first. Tailwind is great, but what many people don’t realise is that understanding CSS makes Tailwind much easier to use. The concepts transfer over almost directly. For example, this Tailwind: <div class= "flex flex-row justify-center w-60 h-60" ></div> is doing the same kind of job as this CSS: <div class= "box" ></div> .box { display : flex ; flex-direction : row ; justify-content : center ; width : 15rem ; height : 15rem ; } Once you understand the basics of CSS, you’re not just learning one tool. You’re learning the foundations behind how styling works on the web, which also makes tools like Tailwind feel much less confusing.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More