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

Поделиться
HTML-код
  • Опубликовано: 30 ноя 2021
  • Click For More : ruclips.net/user/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

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

  • @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 года назад +819

    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

  • @WrokkerGaming
    @WrokkerGaming Год назад +46

    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.

  • @robertuszrobi
    @robertuszrobi 2 года назад +182

    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

  • @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 года назад +229

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

  • @yassinesafraoui
    @yassinesafraoui Год назад +12

    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.

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

    I can guessed the border and absolute position, but those before and after border is awesome! Nice work!

  • @ethlny6093
    @ethlny6093 2 года назад +60

    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

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

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

  • @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.

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

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

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

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

  • @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 !

  • @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

  • @viallymboma9874
    @viallymboma9874 2 года назад +5

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

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

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

  • @dunai2012
    @dunai2012 Год назад +26

    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.

  • @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

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

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

  • @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

  • @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

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

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

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

    Shifu has done it again. Respect!!!

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

    Your tutorial always amazed me. So clean

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

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

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

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

  • @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

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

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

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

    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.

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

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

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

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

  • @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.

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

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

  • @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?

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

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

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

    You are efficient coder with out any error.

  • @HarryEdwards-zk6ok
    @HarryEdwards-zk6ok 23 дня назад

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

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

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

  • @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 Месяц назад

      ​@@SmokinMesathat's not important

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

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

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

    So creative and amazing design😍

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

    He never disappointed in his videos

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

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

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

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

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

    Simple, lovely navigation menu! 😀

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

    love that design, simple and awesome

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

    Very clear and clever. Well done.

  • @anilshukla3.14
    @anilshukla3.14 2 года назад +2

    Mind-blowing bhai 🙀

  • @DrOne-sw6oz
    @DrOne-sw6oz 2 года назад

    Fantastic effect, thanks for the tutorial

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

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

  • @bisaanimations
    @bisaanimations 26 дней назад

    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.

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

    Always deliver best videos 😃

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

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

  • @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.

  • @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.

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

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

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

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

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

    im addicted to your chanel with this video

  • @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 Год назад

      with input radio it will be better

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

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

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

      @@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

  • @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.

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

    The before and after trick was very smart!

  • @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

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

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

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

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

  • @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.

  • @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.

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

    I was hoping SVG clips, and ... It's low tech haha
    Buuuut it's working. Not with transparent background, but it's working :-) Good job

  • @The-sound-of-silence
    @The-sound-of-silence Год назад

    Such an amazing tutorial, thank u so much.

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

    Wuuuoooh.. Keren..
    Terimakasih sudah berbagi

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

    Amazing! Thanks you for the tutorials

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

    Simple and practice! Thanks

  • @4maxnechaev
    @4maxnechaev 2 года назад

    Awesome! Very clean and interesting solution

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

    It is simply awesome...! Many thanks

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

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

  • @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.

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

    Animation is brilliant.

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

    wow amazing work....impressive❤❤

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

    Es magia de Howard. Gracias por compartir

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

    Está buenísimo el efecto 😲😲😲😲

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

    you are absolutely Genius man....

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

    This lesson is outstanding...

  • @salmankhan-gx5hr
    @salmankhan-gx5hr Год назад

    I got it, i do this after some struggle, thanku

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

    Your projects are so useful and amazing 🙏🏻

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

    Great job, thanks for sharing! 👍👍

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

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

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

    crazy skills. Good job very impressive

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

    It was visually so pleasing...!!

  • @user-uk5qy6vy6d
    @user-uk5qy6vy6d 9 месяцев назад

    thanks for tutorial

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

    Interesting navigation, but the solution to change "indicator "was a bit complex in css.
    Maybe it's better to transfer "indicator" class itself...idk, I'm just thinking about new ways
    Anyway, good one.

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

    genius ... thanks for sharing.

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

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

  • @monusingh-jz6er
    @monusingh-jz6er 2 года назад

    What a tutorial 👍❤️

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

    finally we made it🙌 awesome

  • @user-qh4zv9qc9h
    @user-qh4zv9qc9h 2 года назад

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

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

    YOUR VIDEOS IS VERY NICE.... MAI AAPKI HAREK VIDEO DEKHATI HU.... VERY NICE EXPLATION OF YOUR VIDEO....

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

    It's very good and useful for me. Thank you bro

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

    This is an AWESOME channel

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

    Bro you are SUPER good!!