Learn CSS Variables In 7 Minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ต.ค. 2024
  • 🚨🚨🚨 COURSES - slayingthedrag... 🚨🚨🚨
    Join the discord - / discord
    This video is from a lesson in my CSS course.
    In this lesson we go over one of my favorite features in the CSS language, custom properties, or also often referred to as CSS variables. CSS variables allow a value to be stored in one place, then referenced in multiple other places.

ความคิดเห็น • 104

  • @altayeb913
    @altayeb913 10 หลายเดือนก่อน +31

    Ok so SlayingTheDragon is the first learning channel/site I literally binge watched all of its videos. And had to come back many time because I know I wouldn't find a better explanation. I did that like a month ago and now I believe I am very good at css and can't understand why many ppl struggle in it. You're so good, keep doing wonders.

    • @MorphMV
      @MorphMV 3 หลายเดือนก่อน +1

      people struggle on it because they except you to understand things in there way or just didn't knew they have different learning style like i was.
      Tho the videos he give actually helps me understand CSS course way more better than i'd normally wouldn't have. Probbly gonna binge it more after i get back into programing in linux.

  • @wassupbaby8634
    @wassupbaby8634 9 หลายเดือนก่อน +29

    My uninformed dumbass: "CSS has variables?" But fr thx a lot this will help in future projects.

  • @jasonjeong3737
    @jasonjeong3737 6 หลายเดือนก่อน +6

    Hey dude, just wanna say, I'm about 60% done with your CSS course, and I'm LOVING IT! excited for the javascript course too.

  • @John.Rearden
    @John.Rearden 11 หลายเดือนก่อน +11

    Consider doing a video on various CSS frameworks and the pros and cons of using them in a pagebuilders in Wordpress, cheers.

  • @bsk87
    @bsk87 7 หลายเดือนก่อน +2

    What an extraordinary CSS course you made. Waiting for the JavaScript one. I'll be there! Thank you!

  • @anonymall
    @anonymall 11 หลายเดือนก่อน +2

    I really enjoy your videos, really short and concise, shows real-world examples and no long explanations of the same basic principle over and over again

  • @undeadqug7732
    @undeadqug7732 6 หลายเดือนก่อน +2

    I was a beginner in css when i started to watch your videos now i feel like there is nothing i cant code
    thank you soooo much ...

  • @RancorSweetly
    @RancorSweetly 11 หลายเดือนก่อน +2

    I learned SCSS but never knew you could do this with plain CSS. Great!

  • @charlestoneoyoo
    @charlestoneoyoo 9 หลายเดือนก่อน +2

    The best explanation...I am really learning a lot from this channel, thank you

  • @eironross
    @eironross 11 หลายเดือนก่อน +2

    this is a good tutorial. you're underrated i hope your channel grows!

  • @FreshAirThe
    @FreshAirThe 7 หลายเดือนก่อน +2

    dude your explanation is really well done....im a beginner myself and im already making good website designs thanks to your grid and flex videos...i'd be great if you made a video on bootstrap

  • @anthonyyoung7949
    @anthonyyoung7949 5 หลายเดือนก่อน +2

    When are your nextjs, react, and javascript courses coming out my friend? Im almost done with your CSS course and im already signficantly advancing on my projects and at my job because of it. Super excited for the rest of your stuff to drop.

    • @slayingthedragon
      @slayingthedragon  5 หลายเดือนก่อน

      I updated the pricing section of my website with release date estimates. It's hard to predict exactly when a course will be ready, creating courses takes a lot of time

  • @terrainculturefood
    @terrainculturefood 3 หลายเดือนก่อน

    tutorial is exceptionally clear, concise, and easy to follow

  • @msozcelik
    @msozcelik 9 หลายเดือนก่อน +1

    The way you explain is really good. You are the only person I understand everything you say. An old friend of mine used to say that writing code is like a puzzle. How do you think and write code? Can you make a video about it?

  • @Parthesh28
    @Parthesh28 10 หลายเดือนก่อน +1

    I really have no money to even afford your already affordable online CSS course or else I would have surely bought it
    Thank you for your excellent free videos on youtube. Will be waiting for such content in future...
    I have already suggested your channel to all my friends and I wish you and your channel a very bright future....

  • @Apathetic-co3cw
    @Apathetic-co3cw 11 หลายเดือนก่อน +4

    Thank you for this wonderful tutorial 👌🏻

  • @juniorWeb247
    @juniorWeb247 5 หลายเดือนก่อน +1

    really really superb video. Thank for sharing knowledge with us. god bless you man.

  • @alimansimov1929
    @alimansimov1929 8 หลายเดือนก่อน +1

    I am grateful for your work.

  • @palmwaytech
    @palmwaytech 2 หลายเดือนก่อน

    Tutorial , excellent- "Declare variables for colors " , when yo get deep into programming , better know,
    get be familiar with variables, integers , and so on.

  • @viralpasad5222
    @viralpasad5222 2 หลายเดือนก่อน

    Thanks for this. I wish you would've also covered how to handle var from JS and React component.

  • @BibekGotame
    @BibekGotame 8 หลายเดือนก่อน +2

    Post some video myan. Eagerly waiting for

  • @inuyasha11p
    @inuyasha11p 10 หลายเดือนก่อน +1

    Hey. I just finished your html tutorial and I learned so much from it. I'd like to request if you can order the css playlist on which to watch first so I can tackle them right away.

    • @inuyasha11p
      @inuyasha11p 10 หลายเดือนก่อน

      Or if its easier to list them here in order what to watch first. I'd appreciate it

    • @slayingthedragon
      @slayingthedragon  10 หลายเดือนก่อน

      In all honesty, my CSS playlists isn't in any means a full CSS course, videos are specifically about the topic presented and therefore there isn't really an order to it. I have a full CSS course though if you want, but otherwise, there isn't an order to the CSS playlist

    • @SriramulaVenkataKrishnaKarthik
      @SriramulaVenkataKrishnaKarthik 10 หลายเดือนก่อน

      what will be prices for the JS, REACT,Next.Js Courses, I'm from India, needs to save some money to Buy it when it's released. please say individual cost of js,react,next@@slayingthedragon

  • @sumalathabandi3197
    @sumalathabandi3197 8 หลายเดือนก่อน +1

    I love this video very concise and simple way of explanation

  • @kushkumarsingh7207
    @kushkumarsingh7207 5 หลายเดือนก่อน +1

    Upload some javascript videos for beginners really waiting for that.Thanks man for this video you absolutely nailed it.

  • @brendensong8000
    @brendensong8000 6 หลายเดือนก่อน +1

    Another excellent video!!! Thanks for sharing!!!

  • @limoChege
    @limoChege 3 หลายเดือนก่อน +1

    Hey guys am new to tech and we will be learning and growing together,ill be posting soon

  • @babydriver666
    @babydriver666 10 หลายเดือนก่อน +2

    logged into my yt account just so I could subscribe and thank you in the comments for hope helpful ur videos are lol. ive been fucking around with css since age 12, seeing all the vague knowledge ive had floating around my head for years actually get contextualized is mind-blowing haha

  • @birodhlungeli5199
    @birodhlungeli5199 11 หลายเดือนก่อน +2

    You help me lots .. thank you for your videos❤❤

  • @nitkarshchourasia2406
    @nitkarshchourasia2406 8 หลายเดือนก่อน +1

    ## Main Ideas
    - 🎨 Introduction to CSS variables for better manageability and scalability of styles.
    - 📦 Declaring CSS variables using the `:root` pseudo-class and assigning values with hexadecimal color codes.
    - 🔄 Demonstrating the use of CSS variables with the `var()` notation.
    - 💡 Removing hardcoded color values from CSS properties and replacing them with CSS variables.
    - 🖌 Applying CSS variables to various CSS properties like background color, text color, etc.
    - 🌟 Highlighting the efficiency and convenience of using CSS variables for consistent theming.
    - 📈 Illustrating how CSS variables facilitate easy updates across multiple elements.
    - 🚀 Emphasizing the practical benefits of CSS variables in web development for scalability and maintenance.

  • @musafeerr_inc
    @musafeerr_inc 2 หลายเดือนก่อน

    You just saved a huge time of my life!

  • @pattymedeiros1395
    @pattymedeiros1395 หลายเดือนก่อน +1

    He explains every detail beautifully 😍🥰😍

  • @tdgamers365
    @tdgamers365 9 หลายเดือนก่อน +1

    bro keep making video please ur content is so good that other to understand

  • @Ahmmed_Ar
    @Ahmmed_Ar 5 หลายเดือนก่อน +1

    simple yarr. Nice broooo

  • @vijayakumar_3
    @vijayakumar_3 11 หลายเดือนก่อน +2

    Thank you so much for this video

  • @Crasius-madman
    @Crasius-madman 11 หลายเดือนก่อน +1

    thank you for this lesson waiting to learn something amazing with cool code ❤

  • @--bountyhunter--
    @--bountyhunter-- 11 หลายเดือนก่อน +1

    love the sponsor of this video

  • @juliusblaschke5641
    @juliusblaschke5641 7 หลายเดือนก่อน +1

    Your videos are awesome!!

  • @cp65143
    @cp65143 8 หลายเดือนก่อน +1

    This was so useful thanks

  • @_AGCraft_
    @_AGCraft_ 8 หลายเดือนก่อน +1

    Thanks for this tutorial 😊

  • @ADITYA_SINGH1
    @ADITYA_SINGH1 8 หลายเดือนก่อน +1

    Can u please make a video on container query?

  • @goannacs6861
    @goannacs6861 5 หลายเดือนก่อน +2

    Is our bro still alive?
    I hope this is because he is at work for more courses and he isn't retired :D

    • @slayingthedragon
      @slayingthedragon  5 หลายเดือนก่อน

      Not retired lol, regular weekly content really soon

  • @nightowl0492
    @nightowl0492 5 หลายเดือนก่อน

    Please create a video on max , min width height and margin auto , padding auto , auto width and height

  • @binuavin
    @binuavin 11 หลายเดือนก่อน +1

    Can you add info about locally scoped variables in css

  • @SigsSubo
    @SigsSubo 8 หลายเดือนก่อน

    Hey bro, been waiting for the final project for the CSS Course on your website, when you releasing it?

  • @mikhailnikolaev9927
    @mikhailnikolaev9927 4 หลายเดือนก่อน

    Is it variables or constants? How to change it with viewport, for example?

  • @ashutosh_tiwari
    @ashutosh_tiwari 10 หลายเดือนก่อน +2

    Bro please start uploading javascript and React videos too.

  • @KingSidroyale
    @KingSidroyale 11 หลายเดือนก่อน +1

    I bought the course! 🎉

  • @JAelia-nw5uu
    @JAelia-nw5uu 10 หลายเดือนก่อน +1

    Thank youuuu ❤❤❤❤❤

  • @scare4ycat
    @scare4ycat 6 หลายเดือนก่อน

    Hey there
    Could please make one video on how to add background image properly ..I mean like the image we choose would appear in our site completely w/o any cut in large devices too. (Sorry for my bad english)

  • @nitkarshchourasia2406
    @nitkarshchourasia2406 8 หลายเดือนก่อน +1

    *DOM - Make a video on it*
    _Slaying the Dragon_

  • @serapheogen
    @serapheogen 8 หลายเดือนก่อน

    Do you now yet when you expect to release your other courses?

  • @JoseGMartinezR
    @JoseGMartinezR หลายเดือนก่อน

    Muchas Gracias Amigo !!!

  • @ahtishamchaudhary436
    @ahtishamchaudhary436 8 หลายเดือนก่อน +1

    Amazing bro

  • @The_Victory_For_Islam_tr
    @The_Victory_For_Islam_tr 10 หลายเดือนก่อน +1

    how a helpful video,thanks alot

  • @garvkedia359
    @garvkedia359 11 หลายเดือนก่อน +1

    Love your videos.

  • @mirjalol49
    @mirjalol49 11 หลายเดือนก่อน +2

    are u working on Js course now?

    • @slayingthedragon
      @slayingthedragon  11 หลายเดือนก่อน +2

      Yes

    • @SriramulaVenkataKrishnaKarthik
      @SriramulaVenkataKrishnaKarthik 10 หลายเดือนก่อน

      what will be prices for the JS, REACT,Next.Js Courses, I'm from India, needs to save some money to Buy it when it's released.@@slayingthedragon please say individual cost of js,react,next

    • @slayingthedragon
      @slayingthedragon  10 หลายเดือนก่อน +1

      @@SriramulaVenkataKrishnaKarthik I don't know yet, let's say 50$ but I haven't decided yet

    • @john-mac
      @john-mac 8 หลายเดือนก่อน

      @@slayingthedragon Do at leats $67 for that.

  • @vrupesh8080
    @vrupesh8080 9 หลายเดือนก่อน +1

    thanks bro

  • @Capo-Sururu
    @Capo-Sururu 11 หลายเดือนก่อน +1

    Great video 👍

  • @jayceedvr.
    @jayceedvr. 8 หลายเดือนก่อน +1

    You're the best ❤ tsym

  • @gabrielrinconlopez9241
    @gabrielrinconlopez9241 11 หลายเดือนก่อน +1

    Great video! ;>

  • @madikarim264
    @madikarim264 5 หลายเดือนก่อน +1

    عاشت ايدك

  • @diego5963
    @diego5963 7 หลายเดือนก่อน +1

    what did happen with you my friend?:( i haven't saw new content , i'm expecting for new releases, the CSS course was awesome!

    • @slayingthedragon
      @slayingthedragon  7 หลายเดือนก่อน +1

      I'm finishing up the final project in the CSS course and then I'll come back with weekly uploads to youtube :p

    • @diego5963
      @diego5963 7 หลายเดือนก่อน +1

      ​@@slayingthedragon I'm pretty glad to hear that, i thought you're not going to come back but that's a good new!, hoping more updates, thanks a lot for teaching me CSS with the course, i just finished my own portfolio website from scratch using all the stuff learned in the course :,)

  • @tamirhalperin2404
    @tamirhalperin2404 5 หลายเดือนก่อน

    It would be good to know why using CSS variables is better than using JS variables

  • @maksymovchynnikov6369
    @maksymovchynnikov6369 6 หลายเดือนก่อน

    any updates on css course final project?

  • @musafeerr_inc
    @musafeerr_inc 2 หลายเดือนก่อน

    Thanks a lot....!

  • @Goutham991
    @Goutham991 8 หลายเดือนก่อน

    Waiting for your js and react tutorials...

  • @yasaminghaedinia3616
    @yasaminghaedinia3616 27 วันที่ผ่านมา

    thanks

  • @Chiaros
    @Chiaros 10 หลายเดือนก่อน

    But... will you remove the value from the color property?!

  • @parasuramkagitha2951
    @parasuramkagitha2951 11 หลายเดือนก่อน +2

    • @parasuramkagitha2951
      @parasuramkagitha2951 11 หลายเดือนก่อน +2

      Thank you soo much dear sir
      it's very helpful for all of us ☺️

  • @anessrahmani1265
    @anessrahmani1265 8 หลายเดือนก่อน

    Please i need how to change css variables using js

  • @SriramulaVenkataKrishnaKarthik
    @SriramulaVenkataKrishnaKarthik 9 หลายเดือนก่อน

    when JS course will be launched?

  • @marufkhan9400
    @marufkhan9400 6 หลายเดือนก่อน +1

    ❤❤

  • @stayflippinghard1
    @stayflippinghard1 10 หลายเดือนก่อน

    how do you make it that color
    the css

  • @XantaranPatar
    @XantaranPatar 10 หลายเดือนก่อน

    what font you use ???

  • @webdevelopment-y2k
    @webdevelopment-y2k 7 หลายเดือนก่อน +1

    why you stop posting vedios ????

    • @slayingthedragon
      @slayingthedragon  7 หลายเดือนก่อน +1

      13 hour video on the way

    • @webdevelopment-y2k
      @webdevelopment-y2k 7 หลายเดือนก่อน +1

      oh cool am waiting because i realy like the way you tech good luck
      @@slayingthedragon

  • @위그거거덩
    @위그거거덩 11 หลายเดือนก่อน +1

    😍

  • @cherryking67
    @cherryking67 8 หลายเดือนก่อน +1

    Make more video free 🙌🙌 please🥺🥺

  • @daniel_cfh2783
    @daniel_cfh2783 7 หลายเดือนก่อน

    Can you please upload css and js course for free? Pls🥹

    • @daniel_cfh2783
      @daniel_cfh2783 7 หลายเดือนก่อน

      There are other videos on yt too but im requesting you because you are the best teacher

    • @slayingthedragon
      @slayingthedragon  7 หลายเดือนก่อน

      @@daniel_cfh2783 At 100k subs I'm uploading my full CSS course for free on TH-cam, and at 1M subs if that's even possible, I'll release the JS course for free

  • @BibekGotame
    @BibekGotame 8 หลายเดือนก่อน +2

    Post some video myan. Eagerly waiting for

  • @VishwashBhusal
    @VishwashBhusal 9 หลายเดือนก่อน +1

    ❤❤

  • @BibekGotame
    @BibekGotame 8 หลายเดือนก่อน +2

    Post some video myan. Eagerly waiting for