Тёмный

Fieldsets and Legends in HTML and CSS 

Steve Griffith - Prof3ssorSt3v3
Подписаться 101 тыс.
Просмотров 15 тыс.
50% 1

This tutorial explains what the HTML fieldset and legend elements are and how you can style them with CSS.
Code from video: gist.github.com/prof3ssorSt3v...

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

 

20 сен 2020

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 25   
@benitto_rajf6178
@benitto_rajf6178 3 года назад
Thank you Steve for doing this great job.
@mohammadhosein6847
@mohammadhosein6847 3 года назад
Cool CSS trick I never saw before , thank you❤️
@karthickchandiran2397
@karthickchandiran2397 3 года назад
Nice video.til now i haven't use this tags. it will be useful for future development
@pini01ru
@pini01ru 3 года назад
Thanks for your videos!
@barungh
@barungh 3 года назад
Nice animation ... Cool ... :)
@SteveRB511
@SteveRB511 3 года назад
Enjoyed this tutorial, thank you. Just a note: Chrome 86 and Edge 85 on my Mac (Catalina) show the fieldset triangles positioned the the same as your example. Safari 14 and Firefox 80 show the fieldset triangle shifted down about 2 rem from the fieldset border. From my work on Mac and Windows browsers, it seems like the latest versions of Chrome on both OSs seem to be diverging from what I thought were standards(?) as code that has worked for a couple of years on both Firefox and Chrome has required fixes for the more recent versions of Chrome ... more things for my to do list.
@SteveRB511
@SteveRB511 3 года назад
@Jack Murimi Thank you, that's a good thing to keep in mind and what I typically do. The triangle issue was just using the code form Steve's GitHub as is. In another instance I had a page background image that that was centered at the top of a page which worked for a couple of years in 8 browsers (4 on Mac, 4 on Windows). Around the first of this year Chrome on Windows started cutting it off on the right and it was not until I added "fixed" to "background" that Chrome displayed it as before.
@MohammadMM786
@MohammadMM786 7 месяцев назад
Facing this issue in chrome 119 also. Is there any way to fix this other than adding negative units to top.Is adding negative units a good fix?
@AKASH._._.
@AKASH._._. 2 года назад
well explained
@RahulSingh-rk5dz
@RahulSingh-rk5dz 3 года назад
Steve knows how to do some dark magic with css & html.
@userbilas
@userbilas 3 года назад
+ like from me! cool) as always!-D
@damebanda3180
@damebanda3180 3 года назад
How do I align the input elements like the ones in this video?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 года назад
The CSS is in the code that I attached in the description. If you want more info about CSS Grid and Flexbox I have a playlist - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-hYJvxsgnGMA.html
@programmingwithdipayan7280
@programmingwithdipayan7280 3 года назад
Everyone:- day by day every subscriber is growing Me:- why steave Griffith channel subscribers are not growing 😭
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 года назад
The more you share, the more it grows. 😀 Thanks for your support.
@programmingwithdipayan7280
@programmingwithdipayan7280 3 года назад
@@SteveGriffith-Prof3ssorSt3v3 welcome sir. ❤️
@Viralvlogvideos
@Viralvlogvideos 3 года назад
why dont u use space field legend{ } rather then fieldset >lengend{ }?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 года назад
Using the > turns legend into a child instead of just a descendent. It makes the CSS more specific and more efficient for the browser to run.
@Viralvlogvideos
@Viralvlogvideos 3 года назад
@@SteveGriffith-Prof3ssorSt3v3 oh, I get confused 😥 thanks for explaination may be u should make a video on this topic
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 года назад
Here - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-r_aPaREZby0.html
@musicalgames935
@musicalgames935 3 года назад
Fullform of rem??
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 года назад
Rem is a very easy unit to use. You set a base value inside the HTML style and then the designer is encouraged to use that value or regular variations of that to create regular visual rhythm.
@programmingwithdipayan7280
@programmingwithdipayan7280 3 года назад
Rem stands for "relative measurement" I think 🤔
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 года назад
@@programmingwithdipayan7280 it stands for Root Em. Em is the M-height unit. Root em sets the value in the HTML element so it can be referenced throughout the page
@programmingwithdipayan7280
@programmingwithdipayan7280 3 года назад
@@SteveGriffith-Prof3ssorSt3v3 ohh 👍👍👍 thank you. 😃😃😃😃😃❤️
Далее
Mobile Keyboards and HTML Forms
3:14
Просмотров 4,2 тыс.
Как выжить на 1000 рублей?
13:01
Просмотров 661 тыс.
HTML - Fieldsets and Legends
3:40
Просмотров 19 тыс.
Learn Flexbox CSS in 8 minutes
8:16
Просмотров 1,4 млн
Learn HTML Forms In 25 Minutes
24:56
Просмотров 954 тыс.
10 modern layouts in 1 line of CSS
21:39
Просмотров 1,1 млн
HTML Forms and Inputs | HTML5 Tutorial for Beginners
45:19
Create a Registration Form Using HTML and CSS
20:38
Просмотров 12 тыс.