Variables in CSS - Level Up variables with Propery

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 161

  • @lundeveloper
    @lundeveloper  3 місяці тому +16

    The next video will have the topic "Interacting and creating 3D animation with ThreeJs".
    Please subscribe to the channel to watch the video as soon as possible

  • @KO-gc2fr
    @KO-gc2fr 3 місяці тому +68

    Even the paid courses don't teach this stuff!
    Thanks dude :)

    • @lundeveloper
      @lundeveloper  3 місяці тому +1

      😘😘 Thanks brother ❤️❤️

    • @KO-gc2fr
      @KO-gc2fr 3 місяці тому +1

      @@lundeveloper Thanks for your mind-blowing videos 🔥🔥

    • @sujitprasadkushwaha9031
      @sujitprasadkushwaha9031 2 місяці тому

      true brother

  • @lundeveloper
    @lundeveloper  3 місяці тому +29

    @property supports all major browsers, but there are very few specific instructions about it, so I created this video. By comparing traditional variable declaration and @property. Hope this video will be useful for you ❤❤

    • @cath6266
      @cath6266 2 місяці тому +1

      Damn bro, it was... I love you and love your next generations ❤

  • @Clonephaze2327
    @Clonephaze2327 3 місяці тому +12

    Damn, I gotta admit I'm glad I stayed for the end. The special use case with the browser can automatically interpret the correct value is absolutely amazing.

  • @CarCan316
    @CarCan316 3 місяці тому +12

    Dude - YOU ARE AN EGGHEAD, in the best kind of way! Thanks for your vids...

    • @lundeveloper
      @lundeveloper  3 місяці тому +1

      Thank you for watching my video 😍😍

  • @al_hussein_abbas
    @al_hussein_abbas 2 місяці тому +1

    So it's CSS with types, nice 👍

  • @jasenlakic5033
    @jasenlakic5033 27 днів тому

    excellent video, thanks

  • @nobir98
    @nobir98 29 днів тому

    We need more in-depth videos. Keep it up, bro.

  • @madtkn
    @madtkn 3 місяці тому +1

    Thank you helping us take on a different approach in creating solutions. 120% support this channel

  • @codetalk0
    @codetalk0 2 місяці тому

    it was next level bro

  • @lundeveloper
    @lundeveloper  3 місяці тому +19

    This video was published to answer the question of a comment asking for help in the previous video.
    Do you want your question to be the topic of the next video

    • @moviesfirmware
      @moviesfirmware 3 місяці тому +1

      im not understand anything

    • @praja.gautam
      @praja.gautam 3 місяці тому

      Knowledge videos thank you

    • @legendX099
      @legendX099 3 місяці тому +1

      website made by parallax effect please next video

    • @MDAquib-tg4hv
      @MDAquib-tg4hv 2 місяці тому

      can you make a video about video background using nextjs framework?.....it is turning out to be a bit complicated😅

  • @younesdeveloper
    @younesdeveloper Місяць тому

    great content for the 5th time

  • @RayhanCar
    @RayhanCar 3 місяці тому +1

    Goated ❤ thanks bro

  • @sujitprasadkushwaha9031
    @sujitprasadkushwaha9031 2 місяці тому

    Really excited for the next upcoming ThreeJs tutorials.

  • @afaqzzz
    @afaqzzz 3 місяці тому +5

    A very nice tutorial on CSS Variables and quite different from other content on UA-cam

    • @lundeveloper
      @lundeveloper  3 місяці тому

      Thank you, Hope it will be useful

  • @xaxarosso9096
    @xaxarosso9096 2 місяці тому

    Just awsome ! Thanks for dropping this

  • @ezaldensaifeldin9950
    @ezaldensaifeldin9950 2 місяці тому

    Your videos are literally a treasure ❤

  • @kenthsaya-ang3718
    @kenthsaya-ang3718 2 місяці тому

    Wow it's like CSS with Types

  •  3 місяці тому

    Amazing content. Congratulations!

  • @amaizingcode
    @amaizingcode 3 місяці тому

    Great video, thanks!

  • @pintour3
    @pintour3 3 місяці тому

    Now I understand !! Thanks man !!

  • @Shamsham-jw8ej
    @Shamsham-jw8ej 3 місяці тому

    Wow i have learnt many new things in css from this channel 👍🏻

  • @viveksaini9809
    @viveksaini9809 2 місяці тому

    Thanks sir you are great and thanks for sharing videos for our learning ❤ keep it up sir for more videos

  • @techjavaid6177
    @techjavaid6177 2 місяці тому

    Holy shit. This is gold. Thanks for dropping this in.

  • @back2Islamyt
    @back2Islamyt 3 місяці тому

    so much details🔥

  • @them00nitself
    @them00nitself 3 місяці тому

    Concise and practical, thank you

  • @RaveKev
    @RaveKev 2 місяці тому

    oh wow! i think, those where the fastest 10 Minutes in my life! The video was very entertaining, thank you!

  • @ilyasdra4003
    @ilyasdra4003 3 місяці тому

    i gotta admit pretty impressive .

  • @waleedbinshabbir1542
    @waleedbinshabbir1542 3 місяці тому

    truly amazing, love your content

  • @mustafayazlmc3973
    @mustafayazlmc3973 3 місяці тому

    Dude you save my life i love you ❤

  • @amrfarrouh
    @amrfarrouh 3 місяці тому

    Very useful, Thank You

  • @Girlust
    @Girlust 3 місяці тому +1

    🎉🎉 Great Tricks 🎉❤

  • @Famousmag
    @Famousmag 3 місяці тому

    You are the best buddy!! Thank you for all the great tips you give us

  • @PicSta
    @PicSta 3 місяці тому

    Love your work, and the details get explained in an easy and digestible way.

  • @ZeKermet
    @ZeKermet 2 місяці тому

    This was informative! Thanks for the video

  • @relaxingbuddygaming8867
    @relaxingbuddygaming8867 3 місяці тому +2

    Love from india ❤🇮🇳

    • @lundeveloper
      @lundeveloper  3 місяці тому +1

      Thank you, love India ❤️❤️❤️

  • @ipa_stor
    @ipa_stor 3 місяці тому

    That channel is great and videos become better and better. Thanks for your guides🤝👍

  • @2difficult2do
    @2difficult2do 3 місяці тому

    Thank you for detailed explanation. it' s amazing trick. Love it ❤

  • @EugeneKoshelev
    @EugeneKoshelev 3 місяці тому

    Cool staff, man!

  • @Happy_Shaikh
    @Happy_Shaikh 3 місяці тому

    Bro you are amazing, thanks for the video ❤

  • @deephousefridays1911
    @deephousefridays1911 3 місяці тому

    Such a great channel man, thanks for the explanations

  • @JanMitLuca
    @JanMitLuca 3 місяці тому

    I LOVE YOUR SFX!

  • @BrandonSelby
    @BrandonSelby 3 місяці тому

    Love learning from you, your methods inspire me to tinker and test with is not written.🍀

  • @nustaniel
    @nustaniel 3 місяці тому +3

    The use of @property is a game-changer when it comes to transitions and animations. You can take something that you couldn't previously animate, and animate it.
    @property --alpha {
    syntax: '';
    initial-value: 0;
    inherits: false;
    }
    .number-one {
    --position-y: 0.25em;
    content: '';
    width: 1.5em;
    height: 1.5em;
    background: no-repeat linear-gradient(to right, transparent 0.6875em, color-mix(in srgb, currentColor calc(var(--alpha) * 100%), transparent) 0.6875em 0.8125em, transparent 0.8125em) 0 var(--position-y)/1.5em 0.375em;
    border: 0.0625em dotted currentColor;
    transition: 0.5s cubic-bezier(0.65, 0.02, 0.27, 1.7) 0.1s;
    transition-property: background, --alpha;
    }
    .number-one:hover {
    --position-y: 0.5625em;
    --alpha: 1;
    }
    Normally you would not be able to fade in a linear-gradient's alpha like this, but with the help of a @property and specifying it as a transition, we can now gracefully fade in the alpha value. To explain what is happening; I am using color-mix() which takes two colors and mixes them based on a percentage. I specify a percentage on currentColor which is whatever color that is currently set/inherited and leave the transparent color I am mixing it with alone so that it becomes the remaining percentage (if currentColor is 50%, transparent is 50%, if currentColor is 0%, transparent is 100%). I multiplying the --alpha variable that goes from 0 to 1 on :hover, with 100% using calc(), making it so that it goes from 0% currentColor all the way up to 100% currentColor. To test it, you can use . This calc() trick can be used in a lot of different use cases. Why not use as a @property syntax with the initial value at 0% and then transition it to 100%? You can, but you must wrap it in calc() to avoid graphical glitches in the transition, if using a cubic-bezier ease like I am to give it a little bounce, so I prefer using since I'll have to use calc() anyways. If you simply use the ease keyword in example, you can use if you want without the calc().
    I use @property tricks all the time now that browser support is extended to all the major browsers. This was only recently though, with Firefox previously lagging behind. If your project need to support older browsers, try to think of ways to do things without the use of a @property definition. In some cases, like my "number one" above, you can use allow-discrete on the transition to make it respect the delay before it pops into view, but I don't really think it's a good idea to use that property if you can avoid it, and it certainly isn't as smooth as when using a @property.

  • @i8usaaaaaiid856
    @i8usaaaaaiid856 3 місяці тому +1

    Wow! Great Knowledge But Bro please make a video making a responsive and interactive portfolio website same as you make in React and teach the every single step. Thanks 👍

  • @aniruddharoy3232
    @aniruddharoy3232 3 місяці тому

    Love from Bangladesh sir ❤❤❤❤❤
    I have learned many things from you 🇧🇩🇧🇩🇧🇩
    One of my dreams is to meet you and see you ❤❤❤❤

    • @lundeveloper
      @lundeveloper  3 місяці тому

      Thank you so much, love Bangladesh ❤️❤️❤️❤️

  • @andreibarbuto2060
    @andreibarbuto2060 3 місяці тому

    You are the best man!! Your channel is really Amazing

  • @jonathana.grajedacardiel4867
    @jonathana.grajedacardiel4867 3 місяці тому

    AMAZING.... Thank you !!!

  • @DavidGutierrez-dj2kk
    @DavidGutierrez-dj2kk 3 місяці тому

    That was dope!!!

  • @alrojohnmercado4199
    @alrojohnmercado4199 3 місяці тому

    you have the best content bro, concise and clear very helpful.

    • @lundeveloper
      @lundeveloper  3 місяці тому

      Thanks, I always want to create a short but informative video 😘😘

  • @AbdullahDeveloper-e7p
    @AbdullahDeveloper-e7p 3 місяці тому

    it was my request to make this video
    thanks a lot, dear
    thank you soo much
    ❤❤❤❤❤❤

    • @lundeveloper
      @lundeveloper  3 місяці тому

      Thank you for watching my content 😍

  • @vogiahuy3008
    @vogiahuy3008 3 місяці тому

    video của anh rất là hay em học được rất nhiều thứ từ anh .Cảm ơn anh rất nhiều

  • @camilo-code
    @camilo-code 3 місяці тому

    Thank you bro!

  • @princemalongo9303
    @princemalongo9303 3 місяці тому

    Wow!!!

  • @mohdalihpk
    @mohdalihpk 2 місяці тому

    I am following you and am really inspired from your work. Can you make a video where a cartoon character randomly appears from the different corners and show an important message?

  • @renzrr
    @renzrr 3 місяці тому

    For next video can you make it about view transitions that would be fire😊

  • @mr.fabian8471
    @mr.fabian8471 3 місяці тому

    Thanks!!

  • @1More_Dreamer
    @1More_Dreamer 3 місяці тому

    Mr. web development teacher, I'm comming 😎

    • @lundeveloper
      @lundeveloper  3 місяці тому +1

      It's time for us to go to class 😘

  • @Shinkai1984
    @Shinkai1984 3 місяці тому

    Wow, this is such a fantastic knowledge! Thank you very much, you have a new subscriber.

    • @lundeveloper
      @lundeveloper  3 місяці тому

      Thank you so much brother ❤️

  • @ch0c0b0y
    @ch0c0b0y 3 місяці тому

    very nice

  • @NamVu-im2xm
    @NamVu-im2xm 3 місяці тому

    this is gold

  • @_maurodf
    @_maurodf 3 місяці тому +7

    Proprty is kinda like the const and Typescript of CSS 🤣

  • @user-artem-busyhin
    @user-artem-busyhin 3 місяці тому

    🔥

  • @moecritic1493
    @moecritic1493 3 місяці тому

    i just want to know how do you keep making such high quality videos in such a short while

    • @lundeveloper
      @lundeveloper  3 місяці тому

      There are still many interesting videos being prepared to be published 😎

  • @Crix-X982
    @Crix-X982 3 місяці тому +2

    You Teach Me Great and teach things that i don't Know Beafore but, New Trend in WebSite Dev is 3D Website so, Plz now make videos on 3d with Three JS because i hope you tell new things about three.js

    • @lundeveloper
      @lundeveloper  3 місяці тому +2

      Thank you very much, I was planning to work on that topic but there were a few problems that made me not want to publish it. Because for me, working with three.js is not difficult.
      It is difficult to create the model yourself, and that will take a lot of time.
      I will need enough time to share interesting things about it

  • @Pulsemastery
    @Pulsemastery 2 місяці тому

    Cool voice 🎉

  • @Buster475
    @Buster475 3 місяці тому

    Great video! But are you also playing some sort of game to see if we are paying attention?
    Title: Propery
    07:44 Proprty

  • @luan.castoldi
    @luan.castoldi 2 місяці тому

    o video ficou muito bom com esses sons

    • @lundeveloper
      @lundeveloper  2 місяці тому

      Thank you for watching this video

  • @JackHsieh0715
    @JackHsieh0715 3 місяці тому

    Great🎉May I ask which type of mechanical keyboard and switches you are using

  • @andphysics4318
    @andphysics4318 3 місяці тому

    please bring nodejs and backend programming series I want to learn from you please

  • @gunadAgp
    @gunadAgp 3 місяці тому

    Mantap

  • @kledic1715
    @kledic1715 2 місяці тому

    If Lun Dev has million fans, then I'm one of them.
    If Lun Dev has one fan, then I'm THAT ONE.
    If Lun Dev has no fans, that means I'm dead.

    • @lundeveloper
      @lundeveloper  2 місяці тому +1

      When I read this comment I was happy all day,
      Thank you very much, I'm glad my sharing is useful 😘

    • @kledic1715
      @kledic1715 2 місяці тому

      @@lundeveloper Your content is more than useful and you make learning s fun, thank you for your efforts and your amazing skills!!

  • @bf_saad_yt3834
    @bf_saad_yt3834 3 місяці тому +3

    do a live stream or a video on ' fully functional creating ecommerce website' please bro

  • @iftekharalammithu5128
    @iftekharalammithu5128 3 місяці тому

    Nice

  • @Shorts_world_channel
    @Shorts_world_channel 3 місяці тому +1

    I want to learn css like you from where should I begin ? Any tips?

  • @hakkicengiz
    @hakkicengiz 3 місяці тому

    ❤❤❤

  • @PhilanJames
    @PhilanJames 3 місяці тому

    Great vid. The title has "Propery" instead of "property"

  •  12 днів тому

    G.O.A.T.

  • @EbraheemGamiet
    @EbraheemGamiet 3 місяці тому

    hello i love your videos, can you please make an ecommerce video, using html, css, javascript, php and mysqlworkbench. I would really appreciate it. I am subscribed to all your notifications and have been following you for awhile now.

  • @Souljacker7
    @Souljacker7 Місяць тому

    Ok, when are we going to have your CSS course?

  • @Maximiliankovic
    @Maximiliankovic 3 місяці тому

    🤯

  • @development8224
    @development8224 3 місяці тому

    how to custom your tab vscode ? can give your setting or recommendation ext, thanks

  • @fxroki
    @fxroki 2 місяці тому

    Which vscode extension make the tap bar RGB

  • @codelives
    @codelives 3 місяці тому

    hello bro which app do you use for recording and editing your videos

  • @xaxarosso9096
    @xaxarosso9096 2 місяці тому

    I wanna know what vs code theme you use ? I love tthis

    • @lundeveloper
      @lundeveloper  2 місяці тому

      You will find its information in the description

  • @VitusMbah
    @VitusMbah 3 місяці тому

    How did you learn to code with CSS so well, which resources did you use, please share with us.

  • @hyperdonyt8694
    @hyperdonyt8694 3 місяці тому

    Bro your explanation is fucking awesome.
    Love from india bro😊

    • @lundeveloper
      @lundeveloper  3 місяці тому

      Thank you for watching ky content brother, love INDIA ❤️

  • @EbraheemGamiet
    @EbraheemGamiet 3 місяці тому

    Hello can you also make a 3d clothing website with html, css and javascript.

  • @funmaster6887
    @funmaster6887 2 місяці тому

    Can me make a circular loading progress bar

  • @AbdullahDeveloper-e7p
    @AbdullahDeveloper-e7p 3 місяці тому

    plz video about
    :is, :where, :has, ~ in CSS

    • @lundeveloper
      @lundeveloper  3 місяці тому +1

      I published a very interesting video about :has titled "Crazy CSS Using By Master CSS", please check it out.

  • @manish-sharma
    @manish-sharma Місяць тому

    if we put z-index: -1; (8:59 time stamp) our gradient box that we made with pseudo element is shifed backword from the entire page/body and we can see it when we have a background color on body. So, how to fix it @Lun Dev Code can you please guide me?

  • @samuelofili8991
    @samuelofili8991 Місяць тому

    Where do you learn from????????

  • @tibeaugosse
    @tibeaugosse 2 місяці тому

    Hi, I have done everything as you did and I tried to add a transition when you hover on the box (translate), used all 0.4s ease. Though it translate with the timing-fonction and duration supposed, the ::before and ::after elements make their way above the box element instantly. @lundeveloper Could you help me please ?

  • @anvan4371
    @anvan4371 2 місяці тому

    Làm bài về mansory đi bạn:()

    • @lundeveloper
      @lundeveloper  2 місяці тому

      Tuyệt, cảm ơn bạn đã gợi ý ý tưởng nhé 😘

  • @Raiyandev
    @Raiyandev Місяць тому

    What ai voice do you use please tell

  • @mudgalz
    @mudgalz 3 місяці тому

    Hi bro, Idk you will see it or not. but can u make a video on creating a fully responsive and virtualized masonry component where i can pass data from outside and also render card. I tried react-virtualized but its not working finely, sometimes gettting key error sometime resize error etc.

  • @LearnfromtheWise-pf2pt
    @LearnfromtheWise-pf2pt 3 місяці тому

    I didnt understand how did you make color of front box as black

  • @sobansaleem3492
    @sobansaleem3492 Місяць тому

    what is your vscode font family?

  • @MrUnknownJii
    @MrUnknownJii 3 місяці тому

    Does anybody know the name of the extension which shows these live error massages and warnings

    • @lundeveloper
      @lundeveloper  3 місяці тому +1

      This extension is called Error Lens.

    • @MrUnknownJii
      @MrUnknownJii 3 місяці тому

      @@lundeveloper thanks

  • @UnderworldMalek
    @UnderworldMalek 3 місяці тому

    first