loading...
Cover image for How I Stopped to Write CSS

How I Stopped to Write CSS

93lucasp profile image Luca Spezzano ・1 min read

As a frontend developer focused on the CSS architecture, I like to use the best methodologies to write my code. I always do research to understand the frameworks that suit my needs and can be scalable.

A few months ago talking with my colleague the name of a CSS framework came out: Tailwind CSS.

Usually, I used Bootstrap for most of my projects, but a few weeks ago, I started to use Tailwind and it completely changed my way of using CSS.

What is Tailwind CSS

As we can read on the official website:
Tailwind CSS is a highly customizable, low-level CSS framework that gives you all of the building blocks you need to build bespoke designs without any annoying opinionated styles you have to fight to override.

The truth is that many CSS frameworks have too many components predesigned and many times we are forced to overwrite them, especially when we work with highly customized UIs.

Instead of predesigned components, Tailwind provides utility classes that let you build your custom designs without ever leaving your HTML.

Let’s look at some examples of how my way of writing CSS has changed since I started using Tailwind.

Now I would like to show you an example of creating a card component using Tailwind and only CSS.
It’s impressive to see how you can create a component like this without even a line of code.

Do not you believe it?
I will prove it with a practical example.

Continue to read on Medium 👇🏻

Discussion

pic
Editor guide
Collapse
hilleer profile image
Daniel Hillmann

How disappointing to come here and read an intro to be linked to an external page on medium.

Collapse
93lucasp profile image
Luca Spezzano Author

I agree with you Daniel, but after that I write an article for hours I think is not so bad to try to monetize something for the commit.

Collapse
ssimontis profile image
Scott Simontis

Please take a look at the content policy under the site's Terms of Use. Content designed primarily for promotion or affiliate bonuses, or failing to provide substantial content when read on its own, is considered a violation of the terms of use.

Thread Thread
93lucasp profile image
Luca Spezzano Author

Ok Scott I will take a look tahnks

Collapse
gokhanipek profile image
Gökhan İpek

Hey man, It looks like a really interesting topic to read but, since you monetized you medium posts, I can't read the rest of the article. I know medium is cheap like 5dollars but in middle east countries like mine, 5 dollar means something like 30 dollar to us, so I cant read the rest of the article.

Collapse
93lucasp profile image
Luca Spezzano Author

I understand, no problem:) from our website you can get free access to all our articles! notonlycss.com/

Let me know if is working ;)

Collapse
efraimla profile image
Efraim

Very good library