Magic Navigation Menu Indicator using Html CSS & Javascript | Curve Outside Effects

Поділитися
Вставка
  • Опубліковано 30 лис 2021
  • Click For More : ua-cam.com/users/OnlineTutor...
    ------------------
    Enroll My Course : Next Level CSS Animation and Hover Effects
    www.udemy.com/course/css-hove...
    CSS Infinity Course : www.udemy.com/course/infinity...
    Another Course : Build Complete Real World Responsive Websites from Scratch
    www.udemy.com/course/complete...
    ------------------
    Join Our Channel Membership And Get Source Code of My New Video's Everyday!
    Join : / @onlinetutorialsyt
    ------------------
    Source Code : / onlinetutorials
    Facebook Page : / onlinetutorialsyt
    Instagram : / onlinetutorials_youtube
    Twitter : / onlinetutoria16
    Website : www.onlinetutorialsweb.com
    Buy Me A Coffee : www.buymeacoffee.com/onlineTu...
    ------------------
    #csseffect #topcsseffects
    ------------------
    give proper credit if you repost this on other social media platform
    ------------------
    Also Watch These
    CSS Icon Hover Effects | Animated Menu Indicator using CSS & Javascript
    • CSS Icon Hover Effects...
    Navigation Menu Using Html CSS & Javascript | Curved Outside in Active Tab
    • Navigation Menu Using ...
    Sidebar Menu Using Html CSS & Javascript | Curved Outside in Active Tab
    • Sidebar Menu Using Htm...
    Glassmorphism Hover Effects with Magic Line Indicator using CSS & Javascript | CSS Glassmorphism
    • Glassmorphism Hover Ef...
    CSS Magic Line Icon Fill Hover Effects | Social Media Buttons
    • CSS Magic Line Icon Fi...
    ------------------
    icon source : ionic.io/ionicons
    ------------------
    Disclaimer video is for educational purpose only. Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use

КОМЕНТАРІ • 856

  • @OnlineTutorialsYT
    @OnlineTutorialsYT  9 місяців тому +12

    Revolutionize projects with our advanced source code. Elevate innovation, accelerate development, and gain a competitive edge. Your key to success is here. Transform ideas into reality now.
    Get now more than 1000+ source code just by clicking on this link : www.patreon.com/onlinetutorials
    Here you will find each and every Source Code is Unique.

  • @MRMOTOFOTO
    @MRMOTOFOTO 2 роки тому +829

    The fact that I think I can do this without watching the video is giving me hope.

    • @AanAntheroNo1
      @AanAntheroNo1 2 роки тому +94

      Iam watching itnand can't do it there is no hope for me

    • @brxndxnpx
      @brxndxnpx 2 роки тому +19

      Haha I thought the same thing. Going to give it a try before finishing the video

    • @crimsonwolf4490
      @crimsonwolf4490 2 роки тому +40

      @@brxndxnpx i mean only thing u need to do this is watching others do the similar things and have experience. After some time u will be able to do it urself

    • @4xHitler
      @4xHitler 2 роки тому +7

      same here. I looked up css animations just an hour before this.

    • @crispydonut7404
      @crispydonut7404 2 роки тому +1

      Yes same

  • @robertuszrobi
    @robertuszrobi 2 роки тому +185

    I downloaded a basic full stack course. Started off with HTML, then CSS, then Javascript. I am about to start React. I randomly came across this video, and the fact that I understood what was going on is making me so excited about learning to code. Thanks for the motivation. This is a very neat design.

    • @dennisbarzanoff9025
      @dennisbarzanoff9025 2 роки тому +7

      Bra i don wanna kill ur dreams, but coding not that exciting

    • @sagarshabadi3375
      @sagarshabadi3375 2 роки тому +7

      I also started Learning abt Web development
      Now am learning CSS , it's increases Curiosity
      But After learning Part , whn we go outside to find a Job , The work will be difficult ..Let's hope everyone learns New technology & get Jobs ..

    • @aryanKapur.
      @aryanKapur. 2 роки тому +18

      @@dennisbarzanoff9025 nah bruh coding is exciting as hell

    • @CloudyyYT
      @CloudyyYT 2 роки тому +6

      @@dennisbarzanoff9025 i've been coding for like a year and a half and i still get excited

    • @unjakx
      @unjakx Рік тому +6

      @@dennisbarzanoff9025 Depends on the person who is coding

  • @WrokkerGaming
    @WrokkerGaming Рік тому +47

    I never thought I'd understand a non-speech tutorial so well, yet here I am confident I can recreate this AND it developed my understanding of CSS. Thank you, this has been amazing. And the sound track...cosy af.

  • @edenmaimon6983
    @edenmaimon6983 2 роки тому +3

    I just started learning full stack web dev and it really impressed me.
    To think that I will soon learn to make such a menu leaves me even more curious.
    Most of the video I realized, up to the moment of js, waiting for it impatiently!
    Looks great I really liked!

  • @LordKosmux
    @LordKosmux 2 роки тому +230

    This one surprised me! Very clean, modern and it's truly magic to see. Keep the good job, you're amazing!

  • @ethlny6093
    @ethlny6093 2 роки тому +62

    The fact that this guy helped one of my senior get his degree 2 years ago and that thanks to him I got a perfect grade this year is one of the most amazing fact I have

    • @Asyrafcruz
      @Asyrafcruz Рік тому

      senior getting degree? yes our senior developer also are looking at this as reference.
      its okay later in your career we will search youtube also

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

    I didn't even know you could do all this with almost just CSS! This is very inspiring, thank you!

  • @yassinesafraoui
    @yassinesafraoui Рік тому +13

    the usage of the border on the indicator instead of an after or a before( + z-index so that it comes behind) is genius, only this way you can leave the before and after tags unused to use them to round the sides. Apart from that, the box shadow trick is what I missed the most, awesome content, keep going.

  • @SamerLOLOfficial
    @SamerLOLOfficial 2 роки тому +1

    I would rate it 10/10, excellent design and color picking.

  • @jankrupinski1162
    @jankrupinski1162 2 роки тому +3

    Incredible. As a huge fan of pseudoelements I love this video. Good job. Awesome.

  • @watidev
    @watidev 2 роки тому +22

    it seems like its realy simple and i can tell you that showing people hard things and turn it like its easy is a great skill !!!
    It gave me the will to do the same thing but i know nothing about css XD
    Thats a great work

    • @watidev
      @watidev Рік тому

      I come back after 11 months, I UNDERSTAND EVERYTHING !!! and that work is realllyyy good !

  • @mrCetus
    @mrCetus 2 роки тому +26

    It is a very clever technique! Congrats! I'd just advice against putting a div tag as a li sibling inside the ul. For semantic purposes, It would be more recommended using the nav tag as the container of the navigation block, and use appropriate elements for the items (links or buttons) keeping the div as the active marker.

    • @themagicartroll8961
      @themagicartroll8961 Рік тому +1

      Doesn't really matters 😉

    • @Polanopyle
      @Polanopyle Рік тому +2

      @@themagicartroll8961 Semantics absolutely do matter, it's important for assistive technologies, for one. Search indexing is another.

  • @dunai2012
    @dunai2012 2 роки тому +27

    I'm a beginner of CSS. For practice purpose I just followed the demo step by step. Due to some dimension mismatch and some features I didn't get clue I failed the first time but after the recalculation of the proportion of dimension the second try was a success. Thank you so much for this amazing video. I'll carefully study this code after this learning by doing process.

    • @quranislife5014
      @quranislife5014 Рік тому

      Also me I'm beginner

    • @yassinesafraoui
      @yassinesafraoui Рік тому +3

      Advice: I guess as a beginner, it's better to focus on learning other concepts like flexbox and CSS grid, they are practically more important, this kind of vids gives you tricks to achieve fancy looking stuff, which is mostly not what you need to learn to make as a beginner, good luck :)

    • @alhlsmailayusuff1133
      @alhlsmailayusuff1133 Рік тому

      I'm not getting it I followed all the explanation in the video but the icon are not displaying, please I need help.

  • @hadiozturk
    @hadiozturk 2 роки тому

    As a person who is really new at programming i have really excited that. Keep it up bro you give us inspiration. Nice work

  • @RaveKev
    @RaveKev 2 роки тому +2

    That border-radius and box-shadow was brilliant! thx

  • @Monk2s
    @Monk2s Рік тому +1

    Bro, I've been studying programming for a week. I'm thinking you're some kind of god.

  • @viallymboma9874
    @viallymboma9874 2 роки тому +5

    Damn this guy is awesome...always bring a mind new blowing impressive creative UI design

  • @user-tr8pq2sm8c
    @user-tr8pq2sm8c Місяць тому

    Wow that was amazing to me. I am beginner at HTML and CSS. That piece of art gave me big motivation to continue.

  • @manuelquiero
    @manuelquiero Рік тому +1

    This is why I still prefer designing from scratch. This way will give you full control of your web design and still retain native, clean codes compared to using libraries that slows down the render of the page. Of course there are times that libraries like bootstrap are useful

  • @HarryEdwards-zk6ok
    @HarryEdwards-zk6ok Місяць тому

    Bro !!!!!!!!!!!!!! You are so genius ! All of your designs are mind-blowing.

  • @induwarathisarindu5856
    @induwarathisarindu5856 2 роки тому

    After some times watching these tutorials I am now able to create my very own website thank you for your help very much

  • @SergeyMik
    @SergeyMik 2 роки тому +3

    большое спасибо за оригинальную реализацию ! превосходно!

  • @mathewsjoby6455
    @mathewsjoby6455 2 роки тому

    I really loved the tutorial. I was using react. So technically, I used my logic for the script part.

  • @balramraika7763
    @balramraika7763 2 роки тому

    Your tutorial always amazed me. So clean

  • @BigBennyO
    @BigBennyO 2 роки тому +2

    Shifu has done it again. Respect!!!

  • @codingcrush2.0
    @codingcrush2.0 2 роки тому

    You're one of the best youtuber that I follow and I have a good level today thanks to your videos

  • @jessesandvik4458
    @jessesandvik4458 2 роки тому +8

    Did a little React.js conversion, had the color of the bubble change depending on active link, with the effect still being applied after page refresh as well. Awesome navbar, thanks for sharing!

    • @suryapratap1159
      @suryapratap1159 2 роки тому +8

      could you please share a sandbox or pen?

  • @estebanpedroguerravidal8336
    @estebanpedroguerravidal8336 2 роки тому

    Me encantó. Estoy empezando con esto y es muy didáctico y simple. Muchas Gracias!!

  • @kingsleyeshun_
    @kingsleyeshun_ Рік тому

    OH MY GOD . You're always blowing my mind with such awesome ideas.. Thanks very much bro.

  • @zainulislam1548
    @zainulislam1548 2 роки тому

    We are thankful to you for sharing such a great knowledge and ideas

  • @darck5240
    @darck5240 2 роки тому

    using the box-shadow for the corners is smart, thanks for the tip

  • @GHOSTBRSERVER
    @GHOSTBRSERVER 2 роки тому +2

    sem duvidas vc e um dos melhores mano, parabens vc e top, se possivel na proxima va falando fica mais facil acompanhar

  • @faiqangra876
    @faiqangra876 2 роки тому +2

    He never disappointed in his videos

  • @vedanshverma8626
    @vedanshverma8626 6 місяців тому

    I see in figma I thought tht i never design this but u mske me confident ..... intelligent bruh😊

  • @user-om1rn1cd7n
    @user-om1rn1cd7n 12 днів тому

    Literally Shocked bro Amazing 👌👌👌👌

  • @charlesoroko4253
    @charlesoroko4253 2 роки тому

    I learnt quite a bit. Thanks! It seems I need to learn how to leverage CSS selectors.

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

    I'm not one for these types of tutorials (I prefer someone talking me through it) but I absolutely loved this.....thank you for creating and keep up the great work.....will go and check out your other tutorials now.

  • @nextlevelcoding5834
    @nextlevelcoding5834 2 роки тому +3

    wow... Always inspired from you to do Something New ... Like special 😊😊

  • @brandormarquez3148
    @brandormarquez3148 2 роки тому +1

    Wow such a great tutorial!!! Thanks bro

  • @ed1nh0
    @ed1nh0 2 роки тому +160

    Clever! I have to say, you're very creative! The way you do things are straight to the point, but using all those magic numbers can lead newbies to a no-turning-back nightmare! Be careful with best practices, don't use universal selector as you do. Consider this a constructive feedback of your amazing job. I do like to watch all you work and tutorials. Keep it up! 👍🏼

    • @cryptocheech
      @cryptocheech 2 роки тому +3

      Sign up to the course and you won't be a newbie.

    • @ed1nh0
      @ed1nh0 2 роки тому +2

      @@cryptocheech well noticed.

    • @CaptainShanko
      @CaptainShanko Рік тому

      Could you link a vid showing best practices plz? Asking for a friend who is a total noob.

    • @ed1nh0
      @ed1nh0 Рік тому

      @@CaptainShanko I think it's not quite right doing that on someone's channel, sorry about that.

  • @natsuuzhtte
    @natsuuzhtte Рік тому

    Nice creation idea! You've made me spirit want to learn programming more deep

  • @sxmourai6897
    @sxmourai6897 2 роки тому +38

    Amazing tutorial !
    You can even add a little
    filter: hue-rotate(60deg);
    and add 60deg for every element of indicator like this :
    .navi ul li:nth-child(1).active ~ .indicator{
    transform: translateX(calc(70px * 0));
    filter: hue-rotate(60deg);
    }
    .navi ul li:nth-child(2).active ~ .indicator{
    transform: translateX(calc(70px * 1));
    filter: hue-rotate(120deg);
    }
    and it's looking amazing

    • @jessesandvik4458
      @jessesandvik4458 2 роки тому

      I removed the original background color, and changed the background color for each child. Same functionality

    • @smz702
      @smz702 2 роки тому +5

      .navigation ul li:nth-child(1).active ~ .indicator {
      transform: translateX(calc(70px * 0));
      filter: hue-rotate(calc(60deg * 0));
      }
      .navigation ul li:nth-child(2).active ~ .indicator {
      transform: translateX(calc(70px * 1));
      filter: hue-rotate(calc(60deg * 1));
      }
      .navigation ul li:nth-child(3).active ~ .indicator {
      transform: translateX(calc(70px * 2));
      filter: hue-rotate(calc(60deg * 2));
      }
      .navigation ul li:nth-child(4).active ~ .indicator {
      transform: translateX(calc(70px * 3));
      filter: hue-rotate(calc(60deg * 3));
      }
      .navigation ul li:nth-child(5).active ~ .indicator {
      transform: translateX(calc(70px * 4));
      filter: hue-rotate(calc(60deg * 4));
      }

    • @EagleGiggles
      @EagleGiggles 2 роки тому +1

      @@smz702 that's better

    • @havefun5519
      @havefun5519 2 роки тому +1

      @@smz702 Like the hue-rotate() idea

    • @Adventures07
      @Adventures07 2 роки тому

      @@jessesandvik4458 Is there anyway I can see your source code? Mine is not working.

  • @hirschheisstdermann
    @hirschheisstdermann 2 роки тому +2

    lol - I'd never put that much effort into CSS. But this is just really great!

  • @TheGAMERBoii
    @TheGAMERBoii 2 роки тому

    im barely learning css and html. this guy made this in 14 mins and i can barely get a navigation to look properly in 3 hours... this was enjoyable to watch though.

  • @zzippelgazz
    @zzippelgazz 5 місяців тому

    Looks good and there is even better way that let’s you have any background.
    With SVG shape morphing you get it even better.

  • @wahyudifams8696
    @wahyudifams8696 Рік тому

    this guy is a model who never leaves online classes at all

  • @kalpeshp1234
    @kalpeshp1234 2 роки тому +1

    This video needs an deep explanation to understand how it is working other then that video is crazy 🤩

  • @hangoutmusic2566
    @hangoutmusic2566 2 роки тому +1

    You are efficient coder with out any error.

  • @michalvonbargen6523
    @michalvonbargen6523 2 роки тому

    love that design, simple and awesome

  • @nguyenthanhat1422
    @nguyenthanhat1422 2 роки тому

    It's beautiful, I've watched the whole video.

  • @christophervradis7285
    @christophervradis7285 2 роки тому

    im addicted to your chanel with this video

  • @razorjhon2622
    @razorjhon2622 2 роки тому

    i liked the video before i watch , you are amazing man ♥

  • @Lazy4444
    @Lazy4444 2 роки тому

    The before and after trick was very smart!

  • @gedesherstyle
    @gedesherstyle Рік тому

    Simple, lovely navigation menu! 😀

  • @darkcloud9084
    @darkcloud9084 2 роки тому +1

    Your projects are so useful and amazing 🙏🏻

  • @JustinDAMusic
    @JustinDAMusic Рік тому +21

    To make it transition without clicking, in the addEventListener type 'mouseover' instead of 'click' and the transition will happen when you pass over the icon with the mouse.

    • @SmokinMesa
      @SmokinMesa Рік тому +2

      This is a mobile style UI....

    • @MrBrainTucker1079
      @MrBrainTucker1079 Рік тому

      True, but the tip was good regardless imo

    • @godnyx117
      @godnyx117 Рік тому

      @@SmokinMesa Cool idea non the less!

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

      ​@@SmokinMesathat's not important

  • @rodolphelesueur4354
    @rodolphelesueur4354 2 роки тому +1

    Very clear and clever. Well done.

  • @tldw8354
    @tldw8354 Рік тому

    I am sure, this will come in handy by some day in the future. thanks for that tut!

  • @pauljohn3898
    @pauljohn3898 2 роки тому +1

    So creative and amazing design😍

  • @twrkhanasparukh
    @twrkhanasparukh 2 роки тому +3

    Amasing! Have had similar design and couldn figure out how to make such curve and made it with image, but your approach is way better. Simply inginious!

    • @TheBinaryGuyFA
      @TheBinaryGuyFA 2 роки тому

      It's css bro
      Code: border-radius: 50px;

    • @OnlineTutorialsYT
      @OnlineTutorialsYT  2 роки тому +1

      ua-cam.com/video/a3rofqqrTBE/v-deo.html

    • @notinla
      @notinla 2 роки тому

      @@OnlineTutorialsYT the script dosnt work, any ideeas why?
      Nvm i got it to work eventually, still dont know what is had though. Probably a bug in VSCode

  • @ZeeWolfed
    @ZeeWolfed 8 місяців тому

    Hello I've just finish your tuto and it's awesome thanks

  • @goofy7791
    @goofy7791 2 роки тому

    Simple and practice! Thanks

  • @SilentZephyr
    @SilentZephyr 2 роки тому

    ohhh line 54 was javascript, nicely done though. super awesome how you show what each line does so flawlessly, and the music is chill.

  • @CreativeTutorialsWeb
    @CreativeTutorialsWeb 2 роки тому +3

    Always deliver best videos 😃

  • @Gabkets
    @Gabkets 2 роки тому +6

    Good effect and widget. I would suggest using classes instead of tag selectors and use less especification. In this case wont affect but on a large scale the miss use of tag selectors and especification will affect performance. Browsers read from right to left the selectors. Good tutorial, but would be nice to see it with good practices.

    • @yuioyup
      @yuioyup 2 роки тому +1

      Probably did it this way because it was on a much smaller scale

  • @DrOne-sw6oz
    @DrOne-sw6oz 2 роки тому

    Fantastic effect, thanks for the tutorial

  • @daironperezfrias7819
    @daironperezfrias7819 2 роки тому +1

    Eres una Bestia !!!
    Genial, Saludos humildemente desde Cuba

  • @4maxnechaev
    @4maxnechaev 2 роки тому

    Awesome! Very clean and interesting solution

  • @WidianDAlbie
    @WidianDAlbie 2 роки тому

    Amazing! Thanks you for the tutorials

  • @aouxswantoro5432
    @aouxswantoro5432 2 роки тому

    It is simply awesome...! Many thanks

  • @jonaargueta771
    @jonaargueta771 2 роки тому

    Honestly i don't know what to say haha, like, this was amazing, i can only imagine being able to do this kind of things one day.

  • @dthevenin
    @dthevenin 2 роки тому +17

    Nice;
    I did not try but I think you could manage the UI state (and get rid of the JS) by using 'input checkbox'. Maybe worth to try :-)

    • @bastiennavarri7252
      @bastiennavarri7252 2 роки тому

      with input radio it will be better

    • @furkanyildirim8380
      @furkanyildirim8380 2 роки тому

      Have you tried the way that you suggested to see if it works?

    • @dthevenin
      @dthevenin 2 роки тому

      @@furkanyildirim8380 I did not try for the example in this video, but I did implement that solution several times.
      You can find some code example on Internet.
      Basically you need to:
      - deactivate the default style of the Checkbox or Radio button
      - create a CSS based on the state of the Input

  • @MrDa4ka
    @MrDa4ka Рік тому +1

    great concept, but in is not valid, other html and css structure needed

  • @czscratt
    @czscratt Рік тому +4

    I wonder if you could do this with CSS only and transparent background. I think you could use a clip-path property to cut out the white rectangle. If clip-path supports var(), you could even make it dynamic by using a radio button in front of each item to set a CSS variable like --activeIndex.

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

    this navigation bar is just another level

  • @bloodhunter1107
    @bloodhunter1107 2 роки тому

    you are absolutely Genius man....

  • @tiramo36
    @tiramo36 2 роки тому

    Good work you are very professional
    I'm just beginning to learn CSS it's very hard,🤔🤔🤔🤔🤔

  • @djgi7215
    @djgi7215 2 роки тому

    i tried this today, took me like 2h cause i tried to understand, didnt understand eall, but this is amazing

  • @abhikksaha
    @abhikksaha Рік тому

    It was visually so pleasing...!!

  • @user-br1tu9xh4w
    @user-br1tu9xh4w Рік тому

    Спасибо Вам огромное! Очень понравилась Ваша реализация!

    • @vaspurakavdalian1133
      @vaspurakavdalian1133 Рік тому

      У меня ничего не получилось,всё сделал ,шаг за шагом,но ничего.В чём секрет ,Я не понимаю.

  • @smartview4113
    @smartview4113 2 роки тому

    how a person be creative like that? amazing

  • @expresstutorial3255
    @expresstutorial3255 2 роки тому

    Awesome bro, I will continue uploading my tutorials too, you inspire me

  • @anilshukla3.14
    @anilshukla3.14 2 роки тому +2

    Mind-blowing bhai 🙀

  • @vipinkumar10
    @vipinkumar10 2 роки тому

    This is really great. You are a css champ. Thinking of using it in my code somewhere.

  • @oneroom8662
    @oneroom8662 2 роки тому

    Animation is brilliant.

  • @theman7050
    @theman7050 2 роки тому

    Genius! Masha Allah

  • @soumyadipmajumder902
    @soumyadipmajumder902 Рік тому

    This lesson is outstanding...

  • @abhishekbhardwaj578
    @abhishekbhardwaj578 2 роки тому

    finally we made it🙌 awesome

  • @The-sound-of-silence
    @The-sound-of-silence Рік тому

    Such an amazing tutorial, thank u so much.

  • @Sorahoh
    @Sorahoh Рік тому

    와 … 천재십니까ㅠ

  • @marcelinosanders9257
    @marcelinosanders9257 2 роки тому +1

    Looks amazing. I personally would rather to have it working without having to click anything.

  • @yc815mc
    @yc815mc Рік тому

    看著網頁一步步成行的樣子,好舒壓

  • @user-qh4zv9qc9h
    @user-qh4zv9qc9h 2 роки тому

    Yeahhhhh!!! So cool!!!! Thanks a lot for this magic))))

  • @mohammeddemmouchi2299
    @mohammeddemmouchi2299 2 роки тому

    Great job, thanks for sharing! 👍👍

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

    Very nice job. Of course s(he) likes maths and geometry. Congrats

  • @atnguyentien3208
    @atnguyentien3208 Рік тому

    The music makes me chill with coding =))

  • @daleryanaldover6545
    @daleryanaldover6545 2 роки тому +32

    For a much more responsive approach try using rem units and avoid using px as possible. Also don't forget to handle focus styles with css, this way you can have indicator when navigating using keyboard.

    • @motivasibelajar5746
      @motivasibelajar5746 2 роки тому

      please, give me example

    • @chimini_me7220
      @chimini_me7220 2 роки тому

      is there an explanation to why rem units are more responsive? Only now that you mentioned i remembered that most examples of code I've seen from experienced people use rem

    • @DigitalMonsters
      @DigitalMonsters 2 роки тому

      REM is not more responsive, now that I think about it (without googling it) im pretty sure that 'R' in Rem will mean "Root" since it's just the "Root" EM, EM is a relative unit to the first ancestor with a non EM font size.
      So if everything on your whole site is sized with EM it will be relative to the browsers default size (16px, or 1 rem) a rem is just equal to the brwosers default font size.
      So after you've sized everything with em, you can just go to whichever parent container you need to and set font-size: X rem; and everything else will scale appropriately.

    • @daleryanaldover6545
      @daleryanaldover6545 2 роки тому

      @@DigitalMonsters responsive design mainly tackles website layout on different screens issue. But then there are many things that are seeping their way into the responsive design criteria such as user preferences. It is a UX thing and yet some of those preferences can be handled by CSS alone, for example having a dark layout for the website or reduced-motion. Going back to using rem, it just gives developers another method of responsive design. A responsive design that is not based on the device window but the user's preference

    • @Semicorpus
      @Semicorpus 2 роки тому

      Rem is the best maintainable solution, easier to manage in large projects, great in SASS, and more user friendly on the client side too. If you don’t get it now you will with experience

  • @shuvojitbiswas7525
    @shuvojitbiswas7525 2 роки тому

    wow amazing work....impressive❤❤

  • @ninguern7693
    @ninguern7693 2 роки тому +6

    Unfortunately this will not look good if you have stuff in the back of it cuz it's not transparent, just has the same background color, but once I did this same effect using svg, it was really simple and worked really good. I used Figma to make the shape, and then just changed the position of some of the points, if you do it write, css can transition it.