CSS in 100 Seconds

Поделиться
HTML-код
  • Опубликовано: 23 янв 2025

Комментарии • 570

  • @tejasn3835
    @tejasn3835 3 года назад +293

    shout out to the dedication in the "like and subscribe" at the end 2:15
    you'll always be the best

  • @UselessDuckCompany
    @UselessDuckCompany 3 года назад +1423

    To me, CSS is the most frustrating part of web development. In programming the same code should run the same no matter the user, with CSS the exact same CSS produces different results depending on the browser. It's not fair. It's getting better but it's still annoying. Plus at my day job we still support IE11.

    • @trafnar
      @trafnar 3 года назад +200

      Back in my day, we had to support ie6. Uphill. Both ways.

    • @UselessDuckCompany
      @UselessDuckCompany 3 года назад +90

      @@trafnar Dude same. I was working at a major pharma company in 2012 (IE6 end of life was 2006!) and we had to support it. Plus they were still on Lotus Notes!

    • @c0smo709
      @c0smo709 3 года назад +54

      >css
      >programming
      >code
      wheeze

    • @chepossofare
      @chepossofare 3 года назад +61

      Well, have fun compiling a C++ project, mate.

    • @chepossofare
      @chepossofare 3 года назад +13

      @@UselessDuckCompany omg lotus notes is my personal Vietnam

  • @robinmartijn9041
    @robinmartijn9041 3 года назад +206

    He centered a div without googling?
    HE'S A WITCH!

    • @jdboyce
      @jdboyce 11 месяцев назад +4

      This is the best comment in recent memory 🥲

    • @BoredEditor4k
      @BoredEditor4k 2 месяца назад +2

      text-align: center;
      justify-content: center;
      align-items:(or item i forgot) center;

    • @Atkafası-31
      @Atkafası-31 2 месяца назад +1

      @@BoredEditor4k nope.
      .flex { display: flex; justify-content: center; align-items: center; }

    • @Kryptonn682
      @Kryptonn682 Месяц назад +1

      ​@@Atkafası-31

    • @hortusdeescapismo
      @hortusdeescapismo Месяц назад

      display: grid
      place-items: center
      or smt

  • @theatypicaldeveloper
    @theatypicaldeveloper 3 года назад +511

    🔥
    Great work as usual! Lots of ppl are using styled components now, it would be great to see one about JSS too!

    • @Centorios
      @Centorios 3 года назад +1

      Currently working with jss, and it's very useful

    • @robertbrown1338
      @robertbrown1338 3 года назад +5

      Just when you thought people had fucked up just about everything with JavaScript they find something mostly untouched and beautiful to fuck up..
      Can anyone explain 'why?' - what can JSS actually do better than modern css or the compilers (scss sass less etc)
      How can this be any better than just having scoped styling at the component level (eg how React, Vue etc already work)

    • @lanye2708
      @lanye2708 3 года назад +8

      @@robertbrown1338 great question, I am yet to figure that out myself
      let CSS make things pretty, not JS, JS should never touch CSS. the closest it should come to is modifying attributes to influence the CSS being applied, but never anything more

    • @igordasunddas3377
      @igordasunddas3377 3 года назад +3

      I'd add, that JS should not even modify the style attribute, but simply assign classes, IDs and modify the DOM to introduce new elements.
      The thing, that JS used to be better at, was animation. I don't know whether this already changed, but I could see JS being better at it, as it often needs to be responsive. Other than that: CSS for appearance, JS for logic and interactions, that cannot be done using CSS alone.

    • @peaklander1
      @peaklander1 3 года назад +2

      ​@@robertbrown1338 You guys do realize that JSS just compiles to CSS, right? It's just a way to write CSS inside a JS file, so you don't need to have separate files for logic and styling, making it easier to organize your code. How is that fucking up CSS with JavaScript?

  • @yeaitsme6834
    @yeaitsme6834 3 года назад +51

    Loving these beginner videos. Sharing this with 100+ of my students!

  • @jacobhassel5860
    @jacobhassel5860 3 года назад +44

    Great vid as always. I’m a huge fan of these 100 seconds vids. I share these with my team all the time and they’ve massively helped us grow. Web dev is a huge ecosystem and your bite sized vids are a great way to navigate it. I’ve been a fan for a while and as this comment you’re at 990k subs. Can’t wait to see you get 1 mil subs. You’re doing big things for the web dev community.

    • @manasnagelia
      @manasnagelia 3 года назад

      Just got to 1M in just 4 days. Damn.

  • @SimplyFizz
    @SimplyFizz 3 года назад +335

    I've wanted to see one about css for a while, as someone that is starting to do web dev, thanks :)

    • @esquilo_atomico
      @esquilo_atomico 3 года назад +6

      good luck in your journey :)

    • @thecanmanification
      @thecanmanification 3 года назад +2

      As a fellow beginner I think this is a very good primer

    • @joemobes1632
      @joemobes1632 3 года назад +3

      When I started I had a lot of trouble with CSS. However, once you understand the "box model", it starts to click. Understand how that works and then learn flexbox + grid. With those tools alone, you can create most of what you want.

    • @Jorgen1040
      @Jorgen1040 3 года назад +1

      @@esquilo_atomico nice profile picture :)

    • @kaidoesthingsxyz
      @kaidoesthingsxyz 3 года назад +1

      I prefer tailwindcss over vanilla CSS as it has prebuit styles and @apply which allows you to create a class that takes the CSS from the class and merges it

  • @kevybost
    @kevybost 3 года назад +169

    I'm sending this to everyone I know with a "This is what a REAL programming language looks like".
    (seriously though, good job on this and everything else you put out)

  • @Iceehockey21
    @Iceehockey21 3 года назад +13

    These videos are impeccable. When learning to code, you often don't get the high level explanation that these deliver. It's ironic how in forcing to pare it down to 100 seconds, it can almost be more effective than 10 separate videos which get too far into the weeds.

  • @JohnSmith-xh6zx
    @JohnSmith-xh6zx 3 года назад +446

    The humor is incredible....
    An inclusion of centering a div using flex.
    A horribly styled like and subscribe at the end.
    Good stuff.

    • @Phatrikko
      @Phatrikko 3 года назад +27

      Hey no shame in centering a div with flex!

    • @user10476
      @user10476 3 года назад +17

      @@Phatrikko That is actually considered the best way today. Or one of the best, at least.

    • @VictorRibeiroJV
      @VictorRibeiroJV 2 года назад +4

      @@user10476 Yeah, "display: flex" and "align-items: center" is your way to go.

    • @MsYvie
      @MsYvie 7 месяцев назад

      ​@@VictorRibeiroJV You forgot "justify-content: center"

  • @dreamisover9813
    @dreamisover9813 3 года назад +12

    Outstanding visualization of the concepts, that seemed pretty concise for the short amount of time. Awesome

  • @cli23
    @cli23 3 года назад +8

    Been a web dev for over 10 years and been doing CSS the whole time. That being said - I still found this interesting and useful. Amazing stuff!

  • @thessianheart9816
    @thessianheart9816 Год назад +3

    Fireship is really a godsend. Sometimes you need a basic description of different kinds of technologies. It really clears the confusion and you know what exactly you need to learn next.

  • @Computeshorts
    @Computeshorts 3 года назад +3

    I've worked with CSS for 5 years now and this is the best intro anyone could get to CSS that I've seen thus far.

  • @PallGudnason-l5u
    @PallGudnason-l5u 5 месяцев назад

    Possibly the best CSS resource I've come across in 20 years. Really helped me get an overview of how it is all supposed to go together.

  • @martinmohammed4087
    @martinmohammed4087 2 года назад +1

    Your RUclips account is just to valuable for all developers. You are not only making videos to every topic but also making very good vides with good visual graphics.

  • @heheboi9415
    @heheboi9415 3 года назад +10

    Loved it! I really wanted to see this one up here and you did the job :) Thank you so much 😃

  • @desidev69
    @desidev69 3 года назад +9

    2:14 don't worry you can use "overflow" property to fix that

  • @wlockuz4467
    @wlockuz4467 3 года назад +16

    They're not releasing CSS4 because the CSS4 spec has a requirement "One fixed way to center a div" and they still can't figure out what to settle on.

  • @dishantpatel7548
    @dishantpatel7548 3 года назад +3

    so clean and perfect video,
    I was enjoying the presentation/video rather than the actual CSS topic,
    Hats off to fireship!!!

  • @CHITUS
    @CHITUS 3 года назад +3

    These beginner videos are fantastic, and I'm sharing them with 100 of my students!

  • @cosmq
    @cosmq 3 года назад +13

    My man, you are awsome 🤩
    Im still waiting for the c++ video, but until then i'll enjoy the rest 😀

    • @cobaltno51
      @cobaltno51 3 года назад +8

      just watch the java and the c video simultaneously

    • @stickguy9109
      @stickguy9109 3 года назад

      Watch The Cherno dude

  • @hmaina0
    @hmaina0 3 года назад +4

    I feel like I'm getting addicted to this channel because I'm watching this even though I told myself that I already know what CSS is.

  • @whitetoggled5546
    @whitetoggled5546 2 года назад +2

    1:54 if only it was that easy to create such a beautiful button

  • @bonczy_flips
    @bonczy_flips Год назад +199

    I came here for counter strike source

    • @PapBenedek
      @PapBenedek 5 месяцев назад +5

      He forgot to install it

    • @The_amazing_cousins
      @The_amazing_cousins 5 месяцев назад +3

      Me too😂

    • @ArjunTheRageGuy
      @ArjunTheRageGuy 3 месяца назад +1

      can't wait for counter strike source to be playable in cascading style sheets lmao

    • @Atkafası-31
      @Atkafası-31 2 месяца назад +1

      Lmfao

  • @alexwilkinsgames
    @alexwilkinsgames 3 года назад +7

    I laughed at your subtle "like and subscribe" error with the text coming out of the box.

  • @iamnexom
    @iamnexom 3 года назад +2

    I wasted thousands of dollars in college and learned nothing compared to what i learned here in this channel for free. You guys are amazing . You people deserve a noble prize for what you are doing here.

  • @hamdibeep4
    @hamdibeep4 3 года назад +1

    What surprises me is how you managed to mention all the important details about CSS that everyone must be aware of :D

  • @crowlsyong
    @crowlsyong 2 года назад

    2:06 I'm literally about to work on a zoom transition like this for my next project. Seriously man, you are a freaking god. You manage to CRAM all the BEST info into an extremely high fidelity youtube video. Insane. Very. Nice. Work. 👍👍👍👍👍👍

  • @stamoulohta
    @stamoulohta 3 года назад +1

    The end screen was all we needed :)

  • @CrazyCodingChannel
    @CrazyCodingChannel 3 года назад +1

    One of the best beginner videos I've seen.

  • @yitzchaksviridyuk932
    @yitzchaksviridyuk932 3 года назад +1

    I can't believe you didn't do this one yet. Glad you did!

  • @BorisValenta
    @BorisValenta 4 месяца назад

    I wanted to say THANK YOU I got my first web dev job! I started 9 months ago with this course and now I made a portfolio based on React Typescript projects and will start into my first frontend engineer job in July =) Believe in yourself guys! You can make it!

  • @MentorMode
    @MentorMode 3 года назад +2

    Really good content🔥. BTW. almost 1M. Good luck.

  • @deady42
    @deady42 2 года назад +53

    Wait this isn't Counter Strike Source.

  • @icutshapes8164
    @icutshapes8164 3 года назад

    I'm dying at the overflow, you're a legend.

  • @basarat
    @basarat 3 года назад

    Love the CSS Modules logo at the end 😉🌹

  • @matevarga1401
    @matevarga1401 3 года назад +4

    Haha, the overflowing text got me in the end 😂

  • @kirdow
    @kirdow 3 года назад +1

    Assembly in 100 Seconds!
    I'm waiting :D

  • @ronakpatil1
    @ronakpatil1 3 года назад +1

    i never watch videos with speed lower than the normal speed, but i think now the time has come, just to admire this masterpiece.

  • @user-ry4ip9ps9x
    @user-ry4ip9ps9x 3 года назад +2

    This video seemed especially good, the diagrams were great and easy to understand

  • @codyivy9612
    @codyivy9612 4 месяца назад

    My professor is requiring us to watch a Fireship video, count me in! Love your videos!

  • @iwatobi0127
    @iwatobi0127 3 года назад +20

    I actually am learning CSS right now and this helped a lot. Thanks :)

    • @bernardkonan96
      @bernardkonan96 Год назад

      Have you succeeded of leaning Cascading Strong Storm?

  • @JassarDev
    @JassarDev 3 года назад

    Whatever the art for making these videos is called... you sir, have mastered it!

  • @santisoza1364
    @santisoza1364 3 года назад +2

    These videos are so addicting

  • @BryndilleYT
    @BryndilleYT 3 года назад +1

    Loved the overflow at the end lol

  • @philippesteve7734
    @philippesteve7734 3 года назад

    The like and subscribe text overflowing the box is just incredible, great idea

  • @davids9096
    @davids9096 3 года назад +1

    Love the broken box at the end

  • @jersoncarin1952
    @jersoncarin1952 3 года назад +7

    Your 100 seconds are so addicting, How do you make like this

  • @Martonic
    @Martonic 3 года назад +1

    Congrats on 1 mil subs

  • @adrishkumarde4155
    @adrishkumarde4155 3 года назад

    I was looking for CSS tutorials and then only you dropped this

  • @sebastiantrygg4310
    @sebastiantrygg4310 3 года назад

    Congrats on 1 million subs dude
    Well deserved!

  • @facundocorradini
    @facundocorradini 3 года назад +7

    Awesome video! Funny enough, the move into modularity happened after CSS 2... technically there was never a CSS 3, even if the vast majority of people would refer to it as the current version :s

  • @mexicanmax227
    @mexicanmax227 3 года назад

    Wow I miss coding lol. Perfection as always Fireship. Your one of the few RUclips channels relating to code Im still subscribed to just cuz I respect you so much. Don’t get me wrong 😈, I still have saved videos of my most resourceful videos per genre/field/technology/breakthrough/tutorials/guides/etc. I’m just so proud to say I’m still subscribed to you 😁. Yhosh! 💪

  • @nettion
    @nettion 3 года назад +1

    Your content is awesome. I just purchased the pro membership

  • @kirbodev
    @kirbodev 3 года назад

    Congrats on 1mil jeff!!!

  • @cyb3rdragon
    @cyb3rdragon 3 года назад +3

    Thanks!

  • @urishmueli
    @urishmueli 3 года назад +1

    I love yours videos! Explained well, short and to the point.

  • @teodorchirileanu
    @teodorchirileanu 3 года назад +1

    How can you pack so much info in such a short amount of time? Genius!

  • @user-bp5xc9bv4m
    @user-bp5xc9bv4m 3 года назад

    Quality of this video was amazing for some reason ✌️

  • @AronAdler
    @AronAdler 3 года назад +1

    At 0:16 you use the color property to change the color of the box when it should really be background-color

  • @ForTheOmnissiah
    @ForTheOmnissiah 2 года назад

    Some of the visuals people have made using raw css is astounding.

  • @Murdokstankfoot
    @Murdokstankfoot Год назад

    Oh cool! Thanks for wrapping all the scattered pieces I’m learning into a nice little digestible package.

  • @bearfm
    @bearfm 3 года назад +1

    Yo it’s here thank you fireship

  • @Accuraid
    @Accuraid 3 года назад +1

    This was beautifully simple and this is my sign. Thank you.

  • @rodrigocornidez1917
    @rodrigocornidez1917 3 года назад

    This was awesome, thanks for the share. Great work!

  • @adityavsx
    @adityavsx 3 года назад +1

    got my exams today, still enjoying myself cuz of your videos 😎😎🙌🏻

  • @DoughnutBricks
    @DoughnutBricks 3 года назад

    I like the fact that no one notices theses are actually 140 seconds! But great video as always!

  • @cosiam8dx
    @cosiam8dx 3 года назад

    the like && subscribe segment had me hollering.

  • @mrjson3039
    @mrjson3039 3 года назад

    AMAZING VIDEO!!!! I would love to see a more in depth one about this topic

  • @parzh
    @parzh 3 года назад

    The generated captions are just hilarious 😄

  • @lilrex2015
    @lilrex2015 3 года назад +2

    Developer: I want this to be centered and blue with rounded corners
    CSS: Best I can do is circle, to the right and green

  • @WillMitchell3
    @WillMitchell3 Год назад

    Excellent! I replayed sections several times...

  • @bl4ckk
    @bl4ckk 3 года назад +1

    I WAS WAITING FOR THIS!

  • @DailyHomerClips
    @DailyHomerClips 3 года назад

    I really dig this format of your videos man, please do Kafka in 100 secondes thanks !

  • @F3PIZZA
    @F3PIZZA Год назад +1

    Thanks for this! I am now in.

  • @omegahishumata1548
    @omegahishumata1548 5 дней назад

    Lets see how my webdev exam will play out tomorrow... This taught me more than my prof :D

  • @zuhair4967
    @zuhair4967 3 года назад

    Congratulations on reaching 1 MILLION Subscribers 🎉🎉

  • @NotePortal
    @NotePortal 3 года назад

    congrats on 1 million!

  • @igordasunddas3377
    @igordasunddas3377 3 года назад +4

    I knew all of this, but I can definitely recommend this video for people needing a really brief overview of CSS(3).

  • @MercyFromOverwatch2
    @MercyFromOverwatch2 3 года назад +1

    Jeff is still my favourite tech youtuber

  • @lopsanggurung5870
    @lopsanggurung5870 3 года назад

    Assembly Language in 100 Seconds would be 🤩 AWESOME 🤩

  • @sjoerdvanbommel9784
    @sjoerdvanbommel9784 3 года назад +1

    Every fireship video in 100 seconds is longer than 100 seconds

  • @porrasm
    @porrasm 3 года назад +4

    Have you considered covering quantum programming in 100 seconds? It's a very intersting subject and completely different from normal programming.

  • @HazemTamimi
    @HazemTamimi 3 года назад

    I know CSS for 10 years now, but I will never miss this video

  • @NorthernChimp
    @NorthernChimp 3 года назад

    We already knew that Jeff is a master in making things look simpler.
    Now let's note the latest tip:
    Cover bf before css.

  • @BrunaMiranda-l3q
    @BrunaMiranda-l3q 5 месяцев назад

    Your explanations are amazing. Please make one shot for CSS and JS too :D

  • @LimitlesslyUnlimited
    @LimitlesslyUnlimited 4 месяца назад

    @Fireship
    Just came across this great channel and video and subscribed. Can't believe I missed it all these days. Was looking for this simple and concise explanation.
    Have two questions -
    1) Which version of CSS has what advantage or when should it be used as per your expertise? Like Tailwind or Boostrap or Vanilla?
    2) Can you please also comment on the bgm you used haha?

  • @BillionaireDeveloper
    @BillionaireDeveloper 3 года назад +2

    Fireship in 100s please, Jeff♥️♥️

  • @schedarian-
    @schedarian- 3 года назад +1

    Can't wait for Crystal in 100 seconds!

  • @laptopuser5198
    @laptopuser5198 3 года назад

    That 1 million looks good. Congrats

  • @theencryptedpartition4633
    @theencryptedpartition4633 Год назад +2

    Taking a CSS course while thinking that CSS is a Computer Science Student, so Kind of taking CS course 😂

  • @philiphayes4283
    @philiphayes4283 3 года назад +1

    Excellent tempo on this video.

  • @PunmasterSTP
    @PunmasterSTP 10 месяцев назад

    Fireship? More like "Fantastic; this intro was lit!" 👍🔥

  • @theplant4046
    @theplant4046 3 года назад

    Congratulation for one million subscriber 🥳🥳🥳

  • @HaryanviKashmiri
    @HaryanviKashmiri 2 года назад +1

    what nice subtitles

  • @ErFyAgario
    @ErFyAgario 3 года назад +2

    Now I know how to center a div.

  • @tomfoolary4892
    @tomfoolary4892 3 года назад

    ive been waiting for this one.

  • @mmaLyons
    @mmaLyons 5 месяцев назад

    أقسم بالله إنت أفضل مبرمج في العالم العربي وافضل مدرس

  • @spektred
    @spektred 3 года назад

    Glad I learned much of this in the early 90s. 😊