Тёмный

Using Modern CSS To Make A Hamburger Nav In A Few Lines Of Code - Fully Accessible too! 

Frontend FYI – by Jeroen
Подписаться 22 тыс.
Просмотров 8 тыс.
50% 1

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 40   
@jeflopodev
@jeflopodev 9 дней назад
Thanks for the video Jeroen. You're a CSS Magician that lives in the bleeding edge. I saw that If we put the buttons to the bottom right (makes more sense for mobile to me) then there's an overflow problem. If the content of the menu creates an scroll bar, the close button keeps moving with the scroll position. This can be solved by making the close button fixed rather than absolute. And there's no need to play with the overflow properties as is.
@InSaneRoGer112003
@InSaneRoGer112003 3 месяца назад
@starting-style is a game changer wooo thanks for making a vid on this
@frontendfyi
@frontendfyi 3 месяца назад
Thanks for commenting! Glad you liked the video!
@buildervision7082
@buildervision7082 3 месяца назад
This is so great I've been looking for a developer RU-vidr who also teaches accessibility
@frontendfyi
@frontendfyi 3 месяца назад
Nice!! Happy you like my content 🙏 Always feel free to share ideas for topic you’d like to see content of.
@Mempler
@Mempler 3 месяца назад
It's such a simple but awesome feature. It's always such a pain to implement this in jsx especially if you want animations
@frontendfyi
@frontendfyi 3 месяца назад
I really like it! And that fact that is so new but we can use it everywhere already is even more amazing. I love the direction CSS is heading into!
@soniamaklouf1178
@soniamaklouf1178 3 месяца назад
Thanks for this video could you make a video on CSS trig functions I've seen ana tudor doing great things on codepen like her " No SVG, no image, CSS-only fluid slider with input"
@ilan117
@ilan117 3 месяца назад
I ❤ this channel … thank you so much for sharing and teaching us ✌️
@frontendfyi
@frontendfyi 3 месяца назад
Glad you enjoy it! Thanks for sharing this with me too! ❤️
@bramvandinteren
@bramvandinteren 3 месяца назад
Ahhhh yesss, eindelijk transitions van display:none naar flex! Neem aan dat dit altijd gebruikt moet worden i.p.v. opacity:0; visibility:hidden toch?
@frontendfyi
@frontendfyi 3 месяца назад
In dit geval combineer je het met bijv opacity 0 om een fade-in te krijgen. Display none en block hebben zelf geen waardes waartussen ze geanimeerd kunnen worden. Dus als je animeert naar display none, zal de browser op het laatste moment de property naar none zetten. Om dan een animatie te zien moet je zelf nog opacity animeren.
@alexpanteli3651
@alexpanteli3651 3 месяца назад
Eventually we will get rid of all these UI libraries. Hopefully. Thanks for the great content😊
@frontendfyi
@frontendfyi 3 месяца назад
I love the direction css is heading into. Doing these things with plain css definitely is the way! Glad you like the content 😌
@mouadt-b8042
@mouadt-b8042 3 месяца назад
this is just amazing thanks bro
@frontendfyi
@frontendfyi 3 месяца назад
Glad you liked it!
@akinbobolaemmanuel3319
@akinbobolaemmanuel3319 3 месяца назад
What vscode theme are you using? I like the font also. I would like to change mine :)
@frontendfyi
@frontendfyi 3 месяца назад
It's called Arc, from the Bearded Theme collection: github.com/BeardedBear/bearded-theme The font is called Recursive Mono Casual Static
@akinbobolaemmanuel3319
@akinbobolaemmanuel3319 3 месяца назад
@@frontendfyi thank you 😊💃
@MonarchofSouls
@MonarchofSouls 3 месяца назад
What a great video!
@frontendfyi
@frontendfyi 3 месяца назад
Thank you!!
@meylis_so2
@meylis_so2 3 месяца назад
bro bro make a video about :has() :is() and so on. come on bro u re the best
@rakacoustic8127
@rakacoustic8127 Месяц назад
I'm excited
@frontendfyi
@frontendfyi Месяц назад
🔥🔥
@MyGeorge1964
@MyGeorge1964 3 месяца назад
Nice!
@meylis_so2
@meylis_so2 3 месяца назад
bro something lol i found when u write this : popover=" " i didnt an : /// but i use it anyways cause i can make some error
@Tapadar.Monsur
@Tapadar.Monsur 3 месяца назад
What VSCode theme are you using, Jeroen?
@frontendfyi
@frontendfyi 3 месяца назад
It's called Arc, from the Bearded Theme collection: github.com/BeardedBear/bearded-theme The font is called Recursive Mono Casual Static
@benve7151
@benve7151 3 месяца назад
10/10
@frontendfyi
@frontendfyi 3 месяца назад
So kind!! Thanks 🙏
@PlayerRPG85
@PlayerRPG85 3 месяца назад
Liked and subscribed!!!
@frontendfyi
@frontendfyi 3 месяца назад
Thank you! 🙏
@abhishekkadam2999
@abhishekkadam2999 3 месяца назад
Is there a difference from the dialog element, other than being pure css.
@frontendfyi
@frontendfyi 3 месяца назад
The specs make a distinction which they call “modal” or”non-modal”. A dialog is a modal pop-up, which means that in order to dismiss that, the user _has_ to make an important choice in the dialog before it can be dismissed. The popover is non-dialog, meaning it does not have that restriction. This is also why for example the popover auto closes when you click the backdrop vs a dialog which you need to run a JS method for this to happen. There’s a lot of overlap between the two elements and you can definitely create a non modal with a dialog too. But this is what the docs say is their intended behavior. See here too: developer.mozilla.org/en-US/docs/Web/API/Popover_API#concepts_and_usage
@ThaufiqSirajShaik
@ThaufiqSirajShaik 3 месяца назад
What theme are you using for vs code?
@frontendfyi
@frontendfyi 3 месяца назад
It's called Arc, from the Bearded Theme collection: github.com/BeardedBear/bearded-theme The font is called Recursive Mono Casual Static
@feelsthevibes1662
@feelsthevibes1662 3 месяца назад
Which theme?
@frontendfyi
@frontendfyi 3 месяца назад
It's called Arc, from the Bearded Theme collection: github.com/BeardedBear/bearded-theme The font is called Recursive Mono Casual Static
@sajadsalamian6953
@sajadsalamian6953 3 месяца назад
Can somebody name his font????????
@frontendfyi
@frontendfyi 3 месяца назад
The font is called Recursive Mono Casual Static
Далее
Why Beautiful Websites Don’t Convert
12:57
Просмотров 165 тыс.
НЮША УСПОКОИЛА КОТЯТ#cat
00:43
Просмотров 671 тыс.
This mother's baby is too unreliable.
00:13
Просмотров 14 млн
Relative colors make so many things easier!
13:16
Просмотров 49 тыс.
HTMX Sucks
25:16
Просмотров 125 тыс.
Unlocking Cursor AI: Top 8 Hidden Features
13:57
Просмотров 3,3 тыс.
10 Alternatives To Media Queries I Use A Lot
19:58
Просмотров 2,2 тыс.
Replace Is Number Saves 440GB A WEEK
9:54
Просмотров 234 тыс.
`const` was a mistake
31:50
Просмотров 136 тыс.
How the PROS Use Tailwind
9:55
Просмотров 51 тыс.