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.
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.
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 ..
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.
@@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
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
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.
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 :)
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
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.
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!
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! 👍🏼
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.
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.
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.
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
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.
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!
Great effect ! I just have some things to point out to begginers here : - Don't use pixels. Never. They are not a valid unit of meeasurement on the web where aspect ratios, screen sizes and pixel density varies so much. - Prefer %, vmin, em or rem. - The ::before and ::after outer curve effect should be done with border and not box-shadow - The ::before and ::after positionning should be right: 100%; to position on the outer left of the parent and left 100%; to position on the outer right. This is good enough for prototyping, but it all falls down when you try to implement it elsewhere.
Exactly this. And i don't think it's even a good idea for such things to exist on someone's website. Looks beautiful but not more than that. That's exactly why i don't like frontend, even thouh that's what my job is
I have been trying for hours to make the curve using border instead of box-shadow, and can't make it work. Care to provide an example?, I managed to make it work with left: 100% and right: 100% as you suggested, but can't get rid of box-shadow for saving my life.
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
@@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
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.
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
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.
@@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
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
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.
Instead of the copy-paste solution for moving the indicator, I've assigned this method to all list elements. Type parameter is basically an index, 0 for Home, 1 for Profile, 2 for chat and so on. setActive (type) { const list = document.querySelectorAll('.list') const indicator = document.querySelector('.indicator') list.forEach((element, index) => { if (index === type) { element.classList.add('active') return indicator.style.transform = `translateX(${70 * type}px)` } element.classList.remove('active') }) }
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.
THIS is what I'm talking about! Time for sites to step up their game. The web is chock-full of features. Just take EFFORT instead of copying everyone else.
Great tutorial. I just noticed that it's limited to a fixed number of menu items so I instead of moving the indicator using css you can use JavaScript by just adding // get the navigation container let navigation = document.querySelector('.navigation') // get the coordinates of navigation and the clicked menu let navRect = navigation.getBoundingClientRect() let rect = this.getBoundingClientRect() //Calculate the new left position for the indicator left += rect.left - navRect.left //move the indicator to the center of the current/clicked menu item document.querySelector('.indicator').style.transform = `translateX(${left}px)` this allows you to add more items to your menu without worrying about updating your css file every now and then.
The fact that the dip in the menu was done with a black border and the two rounded corners ticked me off. I thought it is going to be some kind of insane information. I am mad because it is so simple and elegant. My solution was overkill.
this is good but it think it woould have manual adjustements for making responsive -- this is a bit of more hardwork than required - best option would be to make a figma svg file and then exporting it in svg format and then animating the 5 list items accordingly
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.
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.
Bra i don wanna kill ur dreams, but coding not that exciting
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 ..
@@dennisbarzanoff9025 nah bruh coding is exciting as hell
@@dennisbarzanoff9025 i've been coding for like a year and a half and i still get excited
@@dennisbarzanoff9025 Depends on the person who is coding
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.
The fact that I think I can do this without watching the video is giving me hope.
Iam watching itnand can't do it there is no hope for me
Haha I thought the same thing. Going to give it a try before finishing the video
@@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
same here. I looked up css animations just an hour before this.
Yes same
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
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
This one surprised me! Very clean, modern and it's truly magic to see. Keep the good job, you're amazing!
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.
Also me I'm beginner
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 :)
I'm not getting it I followed all the explanation in the video but the icon are not displaying, please I need help.
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
I come back after 11 months, I UNDERSTAND EVERYTHING !!! and that work is realllyyy good !
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.
I didn't even know you could do all this with almost just CSS! This is very inspiring, thank you!
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!
Bro !!!!!!!!!!!!!! You are so genius ! All of your designs are mind-blowing.
great concept, but in is not valid, other html and css structure needed
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! 👍🏼
Sign up to the course and you won't be a newbie.
@@cryptocheech well noticed.
Could you link a vid showing best practices plz? Asking for a friend who is a total noob.
@@CaptainShanko I think it's not quite right doing that on someone's channel, sorry about that.
Wow that was amazing to me. I am beginner at HTML and CSS. That piece of art gave me big motivation to continue.
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.
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.
This is a mobile style UI....
True, but the tip was good regardless imo
@@SmokinMesa Cool idea non the less!
@@SmokinMesathat's not important
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.
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
Incredible. As a huge fan of pseudoelements I love this video. Good job. Awesome.
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.
That border-radius and box-shadow was brilliant! thx
Спасибо!
Shifu has done it again. Respect!!!
I would rate it 10/10, excellent design and color picking.
As a person who is really new at programming i have really excited that. Keep it up bro you give us inspiration. Nice work
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!
could you please share a sandbox or pen?
After some times watching these tutorials I am now able to create my very own website thank you for your help very much
I see in figma I thought tht i never design this but u mske me confident ..... intelligent bruh😊
im addicted to your chanel with this video
This video needs an deep explanation to understand how it is working other then that video is crazy 🤩
Bro, I've been studying programming for a week. I'm thinking you're some kind of god.
You're one of the best youtuber that I follow and I have a good level today thanks to your videos
I think html is nothing but you proof that 👏
this guy is a model who never leaves online classes at all
Great effect ! I just have some things to point out to begginers here :
- Don't use pixels. Never. They are not a valid unit of meeasurement on the web where aspect ratios, screen sizes and pixel density varies so much.
- Prefer %, vmin, em or rem.
- The ::before and ::after outer curve effect should be done with border and not box-shadow
- The ::before and ::after positionning should be right: 100%; to position on the outer left of the parent and left 100%; to position on the outer right.
This is good enough for prototyping, but it all falls down when you try to implement it elsewhere.
Exactly this. And i don't think it's even a good idea for such things to exist on someone's website. Looks beautiful but not more than that. That's exactly why i don't like frontend, even thouh that's what my job is
I have been trying for hours to make the curve using border instead of box-shadow, and can't make it work. Care to provide an example?, I managed to make it work with left: 100% and right: 100% as you suggested, but can't get rid of box-shadow for saving my life.
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
I removed the original background color, and changed the background color for each child. Same functionality
.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));
}
@@smz702 that's better
@@smz702 Like the hue-rotate() idea
@@jessesandvik4458 Is there anyway I can see your source code? Mine is not working.
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 :-)
with input radio it will be better
Have you tried the way that you suggested to see if it works?
@@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
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.
please, give me example
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
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.
@@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
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
Damn this guy is awesome...always bring a mind new blowing impressive creative UI design
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
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.
Trying to do this now, bit of a headache lol
Always deliver best videos 😃
lol - I'd never put that much effort into CSS. But this is just really great!
Instead of the copy-paste solution for moving the indicator, I've assigned this method to all list elements.
Type parameter is basically an index, 0 for Home, 1 for Profile, 2 for chat and so on.
setActive (type) {
const list = document.querySelectorAll('.list')
const indicator = document.querySelector('.indicator')
list.forEach((element, index) => {
if (index === type) {
element.classList.add('active')
return indicator.style.transform = `translateX(${70 * type}px)`
}
element.classList.remove('active')
})
}
let prev = 0;
list.forEach((item, i) => item.addEventListener('click', () => {
[list[prev], item].forEach(x => x.classList.toggle('active'));
indicator.style.transform = `translateX(${70 * i}px)`;
prev = i;
})
);
Type parameter is basically an index, 0 for Home, 1 for Profile, 2 for chat and so on.
How do you do that? Do you assign type as an attribute?
wow... Always inspired from you to do Something New ... Like special 😊😊
Good work you are very professional
I'm just beginning to learn CSS it's very hard,🤔🤔🤔🤔🤔
You are efficient coder with out any error.
Literally Shocked bro Amazing 👌👌👌👌
this navigation bar is just another level
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.
Probably did it this way because it was on a much smaller scale
OH MY GOD . You're always blowing my mind with such awesome ideas.. Thanks very much bro.
i liked the video before i watch , you are amazing man ♥
Mind-blowing bhai 🙀
I was like oh that’s nothing special, looks clean though and then you moved it and I was like oh never mind that’s sick 😂
THIS is what I'm talking about! Time for sites to step up their game. The web is chock-full of features. Just take EFFORT instead of copying everyone else.
In 2022 i thinks whats going on this is so hard but today i came back on this video and today i will make this design without watching video
Mesaage? 😅
Nicely done!! Very beautiful
The music makes me chill with coding =))
The before and after trick was very smart!
finally we made it🙌 awesome
Great tutorial. I just noticed that it's limited to a fixed number of menu items so I instead of moving the indicator using css you can use JavaScript by just adding
// get the navigation container
let navigation = document.querySelector('.navigation')
// get the coordinates of navigation and the clicked menu
let navRect = navigation.getBoundingClientRect()
let rect = this.getBoundingClientRect()
//Calculate the new left position for the indicator
left += rect.left - navRect.left
//move the indicator to the center of the current/clicked menu item
document.querySelector('.indicator').style.transform = `translateX(${left}px)`
this allows you to add more items to your menu without worrying about updating your css file every now and then.
Great!
Thanks!
Deserve a million of likes
Sir , u r the real coder.
I really thought he was fake
The fact that the dip in the menu was done with a black border and the two rounded corners ticked me off. I thought it is going to be some kind of insane information. I am mad because it is so simple and elegant. My solution was overkill.
you are absolutely Genius man....
ohhh line 54 was javascript, nicely done though. super awesome how you show what each line does so flawlessly, and the music is chill.
Hello I've just finish your tuto and it's awesome thanks
This is an AWESOME channel
using the box-shadow for the corners is smart, thanks for the tip
Crazy cool. So clean. I love it!
You are very telented . my pleasure to learn from you
It was visually so pleasing...!!
I love how Mesaage made it through the entire Video
how a person be creative like that? amazing
Eres una Bestia !!!
Genial, Saludos humildemente desde Cuba
i tried this today, took me like 2h cause i tried to understand, didnt understand eall, but this is amazing
It's beautiful, I've watched the whole video.
большое спасибо за оригинальную реализацию ! превосходно!
Thank you so much
I got it, i do this after some struggle, thanku
It's very good and useful for me. Thank you bro
I am sure, this will come in handy by some day in the future. thanks for that tut!
Wuuuoooh.. Keren..
Terimakasih sudah berbagi
If the video a little bit slower and with some explained than it might be helpful for beginners like me ...
"Mesaage" x) Amazingly done tho
This lesson is outstanding...
nice work. can you make it transparent instead of matching the background color?
Well hope to get this going but I hope to get it to collapse to a single button on finish… good luck great job!
Very nice job. Of course s(he) likes maths and geometry. Congrats
Está buenísimo el efecto 😲😲😲😲
sem duvidas vc e um dos melhores mano, parabens vc e top, se possivel na proxima va falando fica mais facil acompanhar
this is good but it think it woould have manual adjustements for making responsive -- this is a bit of more hardwork than required - best option would be to make a figma svg file and then exporting it in svg format and then animating the 5 list items accordingly
I learnt quite a bit. Thanks! It seems I need to learn how to leverage CSS selectors.
看著網頁一步步成行的樣子,好舒壓
Nice creation idea! You've made me spirit want to learn programming more deep
crazy skills. Good job very impressive
wow, nice work!
I just love this song, I fall asleep while learning how to design.
Your tutorial always amazed me. So clean