7 ways to deal with CSS

7 ways to deal with CSS

Fireship

2 года назад

1,097,493 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

قاسم الشيخ علي
قاسم الشيخ علي - 09.10.2023 13:43

nothing's better than writing vanilla css 🎉😮

Ответить
VTunnel
VTunnel - 08.10.2023 07:52

I just tell GPT4 my app looks like trash and ask it to style it with bootstrap for me. Boom, done.

Ответить
Peter Smith
Peter Smith - 04.10.2023 18:06

Kevin Powell has awesome css tutorials that taught me so much about how to write it well

Ответить
Azriel Satan
Azriel Satan - 01.10.2023 05:34

Opinion, but if you're using JavaScript or Tailwinds for your CSS, you don't care about bundle size. All you did was move it to a different part of the bundle and probably make it bigger.

Ответить
Sasx
Sasx - 29.09.2023 05:54

Brother, I just wanted to add custom CCS in my Wordpress site. Wtf am I doing here

Ответить
WestEast3259585
WestEast3259585 - 13.09.2023 15:19

yeah i love php templates

Ответить
Ayanava De
Ayanava De - 08.09.2023 19:37

that gave me a headache. why is the modern web like this?!

Ответить
Giorgi Gogiashvili
Giorgi Gogiashvili - 08.09.2023 14:28

just use material ui

Ответить
ØHM
ØHM - 01.09.2023 08:49

I thought it was just me and my beginner level knowledge's fault that I couldn't write good CSS

Ответить
Frederico
Frederico - 25.08.2023 19:44

The announce of nesting in vanilla css made me cry

Ответить
Sebastian Coetzee
Sebastian Coetzee - 21.08.2023 23:39

Let’s face it, we all HATE CSS.

Ответить
IDOL iDIOT
IDOL iDIOT - 14.08.2023 04:59

7 wastes.

Ответить
Ceel Beckers
Ceel Beckers - 02.08.2023 23:07

Usually, I use bootstrap and overwrite it with regular css if necessary.

Ответить
jarco5000
jarco5000 - 02.08.2023 01:42

What a mess...

Ответить
adarsh kumar
adarsh kumar - 29.07.2023 18:37

I play the videos at .75x .

Ответить
Francisco Ossian
Francisco Ossian - 21.07.2023 02:54

I'm making project with next.13 and I decided to use "use server" as standard. Soon I'm thinkg the best way I could do it. Currently I'm just using the support that next.js gives to styles by default (scss now integrated). Too bad I will have to use modules to avoid collision.

Ответить
Ikechukwu Charles
Ikechukwu Charles - 20.07.2023 15:00

My favourite component lib is DaisyUI built with tailwind css and nixix-daisyui

Ответить
Darío Fernández
Darío Fernández - 03.07.2023 09:37

By far the most overpowered way to deal with CSS is LEARNING CSS PROPERLY.

Ответить
Raúl Pérez Valiente
Raúl Pérez Valiente - 28.06.2023 16:38

Productivity = Bootstrap
Personalization = Tailwind
Overall = Bootstrap

Ответить
bharat Gawar
bharat Gawar - 24.06.2023 15:54

can't we create a css module file, create a css style block there and put all the tailwind classes style there inside it and use that module file on the components.

eg new file with name like text-box.module.css

inside that file

.myTextBox {
i don't know tailwind but
tailwind classes....
tailwind classes work like mixins of scss
}

and now we can put this myTextBox class to the component

Ответить
Tariq Rasheed
Tariq Rasheed - 24.06.2023 04:11

Ant Design

Ответить
ThaJay
ThaJay - 23.06.2023 23:31

I kind of missed another way of styling react apps and in my opinion the simplest one; style objects given to the style property. You can either statically define them outside of the component, or memoize them and make them dynamic. It requires zero setup because React supports it by default.

Ответить
Jeffery Muter
Jeffery Muter - 19.06.2023 01:33

Doesn't Tailwind solve the issue of css being in a different file? As someone soon seeking a Jr. position, I am slightly nervous to be asked to build an app on the fly without my beloved libraries/frameworks 😅

Ответить
Richard Cote
Richard Cote - 22.05.2023 17:11

I've been warming up to Tailwind after having given up on utility classes a few years ago. It’s really good, especially for landing pages, where there’s generally a number of different styling zones and requires a lot layout tweaks. The classname bloat is worth the advantage of focusing strictly on your HTML for all the nips and tucks. It seemed like the tradeoff was when dealing with repeating elements, where you'd need to also repeat the long stream of classnames — exactly where BEM-like naming is useful. When I started using @apply to bring Tailwind classes into stylesheets, things really took off. Tailwind’s classes make your CSS incredibly compact yet readable, esp. when combined with nesting in Sass et al. Best of both worlds.

Ответить
Rifat Munna
Rifat Munna - 15.05.2023 18:09

i just use vs one and still cant work out anything

Ответить
Duck
Duck - 10.05.2023 09:24

This is a fantastic overview for comparing different CSS frameworks and methodologies, for those frustrated with manual CSS.

Ответить
SpartanDemiGod
SpartanDemiGod - 04.05.2023 14:51

I'd just use TailwindCSS

Ответить
Lord Agustin
Lord Agustin - 23.04.2023 19:14

The best way to write css is to leave it to chat gpt

Ответить
Shikhar Singh
Shikhar Singh - 23.04.2023 05:09

As a beginner learner, i am still confused as to what to use, have been using plain css so far since i dont have knowledge of react and js as of now so every other option you gave came with a bit of confusion with it. Will rewatch this after i am finished with learning js and react

Ответить
Ernest Horgas
Ernest Horgas - 21.04.2023 00:58

I thought that in react for every component you have a separate css file

Ответить
ಠ⁠_⁠ಠ
ಠ⁠_⁠ಠ - 15.04.2023 12:40

oh! I think I'm going back to my 11 hours css tutorial 🙃

Ответить
Vojtěch Tranta
Vojtěch Tranta - 13.04.2023 15:21

Mantine is very, very impressive. I wish something like this existed for React native.

Ответить
Azhaguraja AllinAll
Azhaguraja AllinAll - 10.04.2023 21:01

Learning web development is easy 😃 others said
Learning html
Yeah it's easy
Learning css,js,frameworks,databases,etc,.
Guy:its overwhelming 😮

True though
wish people like me & peers(pradeesh phoenix & many) make well in life

To programming & modern tech:you should beat them (complexity) & not join them 😏😂😳

All will be well 😃🌟✨🙌
(1.3+k comments,35+k likes,829,418th view)
10.04.2023 11:29 pm ist

Ответить
Dom Heron
Dom Heron - 05.04.2023 22:55

Tailpile is another really solid way of doing using css now. Keeps all the tailwind stuff in separate files and lets you use your own classes.

Ответить
Aaron Nim
Aaron Nim - 28.03.2023 11:12

I straight up use raw inline css

Ответить
Grass Hopper
Grass Hopper - 24.03.2023 05:45

You killed me with the intro. That blinds scene is the perfect representation of how it feels to deal with CSS. 😄

Ответить
Phalamy
Phalamy - 20.03.2023 16:57

Oh golly! This Html struff is real fun!
Lets use css for my table!







Regret

Ответить
Fahad Aameer
Fahad Aameer - 20.03.2023 15:27

I love Tailwind

Ответить
Sahil Das
Sahil Das - 18.03.2023 06:56

I usually handle CSS in 5 ways:
-ChatGpt
-Anger
-My Dad
-Deleting it
-Dance

Ответить
Dentyne
Dentyne - 17.03.2023 18:03

Html js css bootstrap react ???

Ответить
Kami Tenchi
Kami Tenchi - 14.03.2023 12:44

Can you focus on actually making videos that we can understand instead of views bruh

Ответить
GG FF
GG FF - 11.03.2023 19:23

Tailwind is best styling framework🌚🌚. Once you stick with it , you wont return back

Ответить
Samuel Granger
Samuel Granger - 09.03.2023 23:31

Most of the time I'm a fan of just using SCSS—especially with CSS custom properties. I like to keep my platform code as brand agnostic as possible, so keeping styles separate from my components is a feature and not a bug for my work. Also, I'm absolutely not a fan of the garbled, random classnames that get put on all elements to keep styles from cascading—which again, I find to be a bug rather than a feature. Particularly if content managers are going to be uploading separate HTML assets via a CMS (blog posts, banners, etc) on top of this platform, and I want those to inherit the look and feel of the surrounding application.

Ответить
Linuxdirk
Linuxdirk - 27.02.2023 23:50

If it "gets hard because CSS cascades" you're doing it wrong.

Ответить
Hải Dương B
Hải Dương B - 26.02.2023 11:32

i can found out that fuck css let go sleep

Ответить
Anti-Social Programming
Anti-Social Programming - 15.02.2023 08:12

I really don't like css

Ответить
Luiz de França Afonso Ferreira Filho
Luiz de França Afonso Ferreira Filho - 15.02.2023 06:03

Or just use Svelte🤣

Ответить
singmantkpss
singmantkpss - 13.02.2023 01:39

I've only tried AntD, ready to try material next!

Ответить