2 HTML Elements I Never Used!? (Details & Summary)

  Рет қаралды 30,509

DesignCourse

DesignCourse

Күн бұрын

Пікірлер
@DesignCourse
@DesignCourse 4 жыл бұрын
What other lesser-known HTML5 elements should I cover?
@pj7546
@pj7546 4 жыл бұрын
I think you should try Im not really sure how to use it
@aglowkeys
@aglowkeys 4 жыл бұрын
Thanks for the video! I learned about those elements around a month ago, but have never used them yet. It would be nice to see you experiment with the and tags. I don't really understand how to use them.
@elvinchu
@elvinchu 4 жыл бұрын
@WinterSnowism
@WinterSnowism 4 жыл бұрын
​@@pj7546 optgroup?
@pj7546
@pj7546 4 жыл бұрын
@@WinterSnowism Its
@vimalrajm1419
@vimalrajm1419 4 жыл бұрын
8:26 'open' is an attribute added to details tag when clicked on it, it is same as input[type=text]
@sebastienlehmann3815
@sebastienlehmann3815 4 жыл бұрын
You may improve your animation by using transform: translateY(-10px) instead of maring-top. Also using rotate(.5turn) instead of changing SVG url.
@markabc178
@markabc178 4 жыл бұрын
Could you explain why the animation is better with translateY instead of margin-top?
@snakone
@snakone 4 жыл бұрын
@@markabc178 things like margin, width, padding are the most expensive properties to animate
@markabc178
@markabc178 4 жыл бұрын
@@snakone Like performance wise? good to know
@snakone
@snakone 4 жыл бұрын
@@markabc178 Gary got a video talking about css animations and which elements are the most expensive to move or alter
@sebastienlehmann3815
@sebastienlehmann3815 4 жыл бұрын
​@@markabc178 margin-top involve redrawing layouts, paints them and compositing while translate involve only compositing, it's thus more performante and can use graphic card to speed up : developers.google.com/web/fundamentals/performance/rendering In addition, thanks to graphic card, it can draw subpixels movement, it then looks much smoother : kzbin.info/www/bejne/Y2eVpoONit2amck&feature=emb_logo Wrap up : it's nicer, faster, and consume less energy - whenever you can use a transformation (or opacity), you must use it.
@AlphaScorpii86
@AlphaScorpii86 4 жыл бұрын
The outline actually serves a purpose from a UX standpoint: to indicate that the element is focused when navigated with a keyboard.
@MaxWeir
@MaxWeir 4 жыл бұрын
That’s awesome, we added this also for article reference content and works well, it’s the default style currently but this example is really nice and shows what you can do
@markabc178
@markabc178 4 жыл бұрын
Please do more of these. Really helpful and interesting
@leandro55pt62
@leandro55pt62 2 жыл бұрын
when i put an animation , at the fisrt click it works perfectly but if i close and try to open again it dosent do the animation
@GammaWraith
@GammaWraith 4 жыл бұрын
Nice find Gary, it's been a while. Glad to be back ! :)
@jsphpndr
@jsphpndr 4 жыл бұрын
@DesignCourse this is hilarious! I have used these in one client project. That’s it, but I see others use it all the time. Mostly, my students. I teach an intro course and excited students want to use everything in the HTML arsenal to impress me. Needless to say, my students pretty much keep me up-to-date. 😂😂😂
@siddharthpatel3365
@siddharthpatel3365 4 жыл бұрын
LOL I LITERALLY STARTED USING THEM YESTERDAY TOO
@CodingUnited
@CodingUnited 4 жыл бұрын
Twitter?
@cybermaster6752
@cybermaster6752 4 жыл бұрын
kzbin.info/www/bejne/mV6WiZVjhsZlaLc
@acke5180
@acke5180 4 жыл бұрын
Great!I I did it last time with JS..but this one is a must have knowledge to pack it under the belt! Well done!
@katemc516
@katemc516 4 жыл бұрын
thanks Gary, I went a step further to use font awesome in a span, and change the span to 'rotateZ(90deg)' in the details[open] I have to keep reminding myself :" don't underestimate the power of CSS! "
@FatmaGul29
@FatmaGul29 Ай бұрын
how did u use font-awesome for that?
@pgmattic
@pgmattic 4 жыл бұрын
Gary is the man. He is the best design channel I came across.
@vaspar5852
@vaspar5852 4 жыл бұрын
I was wondering how to get an accordion and yes you discovered it! Thank you
@quirkymarshmallow9324
@quirkymarshmallow9324 4 жыл бұрын
Thanks for showing this. I plan to use it at my work. Really neat!
@joeltecua4204
@joeltecua4204 4 жыл бұрын
Gracias por compartir tus conocimientos, sin duda un gran soporte de aprendizaje, saludos desde Ciudad de México.
@Well_This_Guy_Says
@Well_This_Guy_Says 4 жыл бұрын
Awesome video, I always used to use JQuery accordions, but I like this approach. What would have put this over the top would be if you shown how opening one would close one that was already open
@RuneScapeZammy
@RuneScapeZammy 4 жыл бұрын
Not sure if its possible with those tags. You could use JS to reset the open attribute. But if you want a CSS only solution for this use case take a look how to use input:checked. If you have radio buttons with the same name only one of those can be checked at the same time. Then you can style the element you want to style using ~ or +.
@cybermaster6752
@cybermaster6752 4 жыл бұрын
kzbin.info/www/bejne/mV6WiZVjhsZlaLc
@mablisho
@mablisho 4 жыл бұрын
Great video man, i have a question maybe you can guide me, i need to get rid of the arrow but only using css inline html, like something like that, the reason is that i dont have access to de css file because i only have access to entries in wordpress. Thanks in advance.
@fullstack_journey
@fullstack_journey 4 жыл бұрын
There are a looot of wired uncommon tags like these... great video Gary 🔥
@cybermaster6752
@cybermaster6752 4 жыл бұрын
kzbin.info/www/bejne/mV6WiZVjhsZlaLc
@ognjenstefanovic4606
@ognjenstefanovic4606 4 жыл бұрын
Instead of changing the image from down to up, you could rotate it for 180 deg, with transformation. Might look cooler.
@hlopes586
@hlopes586 6 ай бұрын
why is that when im testing it only animates the first time...?
@CoolScratcher
@CoolScratcher 4 жыл бұрын
Amazing new style! I love it.
@MultiMemich
@MultiMemich 4 жыл бұрын
Adding rotation animation for the svg would be better, but still this is awesome stuff, keep it coming.
@nicholasfactor
@nicholasfactor 4 жыл бұрын
right
@cybermaster6752
@cybermaster6752 4 жыл бұрын
kzbin.info/www/bejne/mV6WiZVjhsZlaLc
@robertaw1221
@robertaw1221 4 жыл бұрын
That is what I expected Gray to do when he mentioned about it changing.
@mauriciabad
@mauriciabad 4 жыл бұрын
Actually this HTML tags are not recommended for most use cases where you need acordions. The recommendation for building accessible HTML FAQs is with data lists (dl, dt and dd tags) and a bit of js: www.w3.org/TR/wai-aria-practices/examples/disclosure/disclosure-faq.html
@cybermaster6752
@cybermaster6752 4 жыл бұрын
kzbin.info/www/bejne/mV6WiZVjhsZlaLc
@zsoltbalogh2746
@zsoltbalogh2746 4 жыл бұрын
Many thanks for your work! Unfortunately in 2020 we still have to consider IE which does not support this. I think it would be useful if you could include the browser support in your videos and maybe show how the page looks like in browsers which does not support this element.
@popovicialincatalin
@popovicialincatalin Жыл бұрын
Uh, I don't think so... Internet Explorer has been completely depricated and is no longer in use.
@xelsor
@xelsor 3 жыл бұрын
using &:hover { background: rgb(120, 120, 120); } does not work for some reason
@giorgosbathory8698
@giorgosbathory8698 4 жыл бұрын
how do i align them in to the right side of the page
@friday2.054
@friday2.054 4 жыл бұрын
Dude....will you make video on most importants tag with CSS examples....plzzzz
@madhusudhan5984
@madhusudhan5984 4 жыл бұрын
Hello sir, I often confused how to use media quaries . Can you please make a video for that sir.
@elfridhasman4181
@elfridhasman4181 4 жыл бұрын
Thank You Very Much Gary😊
@nicholasfactor
@nicholasfactor 4 жыл бұрын
how come you don't just rotate the svg instead of having 2 files, what's the benefit of that? (Maybe I'm dumb) also you could animate it lol
@sahej97
@sahej97 4 жыл бұрын
New intro looks good
@maxdevgenius5469
@maxdevgenius5469 4 жыл бұрын
awesome i never new it before thanks for the tricks bro always present for the tutorials
@victordavid2292
@victordavid2292 4 жыл бұрын
can we use this for dropdown menu nav bar?
@ahsankhan-nc6wd
@ahsankhan-nc6wd 4 жыл бұрын
very very awesome.. sir you save my day
@AdeyCoder
@AdeyCoder 4 жыл бұрын
Awesome ☺ makes things simpler thank you.
@randeltagayun1654
@randeltagayun1654 4 жыл бұрын
Wow intead using checkbox for accordion maybe i'll used this thank you for this 👆
@habibmahbub1519
@habibmahbub1519 4 жыл бұрын
browser support?
@CodingUnited
@CodingUnited 4 жыл бұрын
caniuse.com/details
@cybermaster6752
@cybermaster6752 4 жыл бұрын
@@CodingUnited kzbin.info/www/bejne/mV6WiZVjhsZlaLc
@rinegolo1431
@rinegolo1431 4 жыл бұрын
I don't know how it looks and it respond in mobile but the desktop version of coin desk have a lack of design, friendly colors and too much white space in my opinion. Also robinhood desktop app scks, I know they are pretty much new but they have enough money to pay to make it way better.
@hayleykornilenko6314
@hayleykornilenko6314 4 жыл бұрын
I have noticed the svg does not work on Firefox. Has anyone else had this issue?
@julianandresrodriguezalman4270
@julianandresrodriguezalman4270 4 жыл бұрын
I have a question, how I could animate when it is closing?
@wejesuss-1104
@wejesuss-1104 3 жыл бұрын
currently, just with javascript code
@thetranquilchannel
@thetranquilchannel 4 жыл бұрын
If you’re using VS Code, you can try out the Browser Preview extension to see updates right in VS Code. marketplace.visualstudio.com/items?itemName=auchenberg.vscode-browser-preview
@window.location
@window.location 4 жыл бұрын
I saw this on the npm page yesterday www.npmjs.com/package/helmet#reference but didn't know how easy it is. Thanks, Gary
@Harsh-fd4ml
@Harsh-fd4ml 3 жыл бұрын
Hey please make video on how to create video player
@aaronbell5994
@aaronbell5994 4 жыл бұрын
This is awesome!!
@nerdiloo9863
@nerdiloo9863 4 жыл бұрын
Hehe I have to admit I started using this in 2019 - good find DC.
@nicholasfactor
@nicholasfactor 4 жыл бұрын
sameeeeeeeeeeeeeee
@galynaprog857
@galynaprog857 4 жыл бұрын
Not supported in IE
@dgloria
@dgloria 4 жыл бұрын
Hi Gary, I need to remake my site, because I'd like to change the content. Do you have some kind of collection of the best designs I could get ideas from please? Thank you.
@cybermaster6752
@cybermaster6752 4 жыл бұрын
kzbin.info/www/bejne/mV6WiZVjhsZlaLc
@pj7546
@pj7546 4 жыл бұрын
Try the outgroup
@DevsLikeUs
@DevsLikeUs 4 жыл бұрын
Love it !
@thevividversatilechannel4807
@thevividversatilechannel4807 3 жыл бұрын
2:54 Just put *1 at the end! details*1 instead of details
@eftiprwtopapadakis9310
@eftiprwtopapadakis9310 4 жыл бұрын
It seems that html5 and css3 have so many to offer us that javascript is really for advanced behavior
@DaviAreias
@DaviAreias Жыл бұрын
It seems that html and css already have a lot of built in efficiente solutions, but they were forgotten because everyone loves using expensive frameworks
@arturlomakin3555
@arturlomakin3555 4 жыл бұрын
I knew this, but I didn't know how to style that
@eddytech3767
@eddytech3767 3 жыл бұрын
I just used them last week, when I was learning sass
@consig1iere294
@consig1iere294 3 жыл бұрын
Please do a 2021 version of this.
@supportic
@supportic 4 жыл бұрын
Used it more often in markdown
@LabhamJain
@LabhamJain 4 жыл бұрын
Soooooooooooooooooo Awessssssoooooommmmmeeeee!!!!!😘😘😘😘😘😘😘😘😘😘
@prakashacharya
@prakashacharya 4 жыл бұрын
I have been using js for years
@nedalturas
@nedalturas 4 жыл бұрын
thank you!.
@tomsharp16
@tomsharp16 4 жыл бұрын
1:23 "so sign up for free or get 20% off"
@cybermaster6752
@cybermaster6752 4 жыл бұрын
kzbin.info/www/bejne/mV6WiZVjhsZlaLc
@pazdikan
@pazdikan 4 жыл бұрын
🔥
@Htbaa
@Htbaa 4 жыл бұрын
Thanks for the video, didn't know about these. outline:none; on controls is a terrible thing to do for accessibility, please don't do that.
@PappuShankar
@PappuShankar 4 жыл бұрын
First comment and view
@ruiyang626
@ruiyang626 4 жыл бұрын
Hi
@AsithWijenayake
@AsithWijenayake 4 жыл бұрын
👏👍
@devdin8157
@devdin8157 4 жыл бұрын
Hi I'm first
@portlyoldman
@portlyoldman 4 жыл бұрын
Absolutely love your tutorials 😁 BUT if you could PLEASE avoid saying “go ahead and” and “real quick” all the time it would be great, it really grates on non American English ears. These seem to have crept into American English 🥺 . “Real quick” is simply unnecessary filler and “go ahead and” should only be used when permission is being granted.
@cybermaster6752
@cybermaster6752 4 жыл бұрын
kzbin.info/www/bejne/mV6WiZVjhsZlaLc
Building a REAL Web Component from Scratch! - Tutorial
35:51
DesignCourse
Рет қаралды 54 М.
Animating SVG with the Awesome GSAP 3.0
30:14
DesignCourse
Рет қаралды 98 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
100+ Web Development Things you Should Know
13:18
Fireship
Рет қаралды 1,6 МЛН
Why & When to Use Semantic HTML Elements over Divs
12:01
ByteGrad
Рет қаралды 117 М.
003. HTML: The Good Parts - Вадим Макеев
51:30
Yandex for Frontend
Рет қаралды 11 М.
STOP The CSS Grid Confusion - 2 Ways to GRID!
26:09
DesignCourse
Рет қаралды 178 М.
How to Learn to Code FAST (Do This or Keep Struggling)
11:00
Andy Sterkowitz
Рет қаралды 723 М.
Interactive UI/UX Crash Course
5:44:49
DesignCourse
Рет қаралды 80 М.
10 CSS Pro Tips - Code this, NOT that!
9:39
Fireship
Рет қаралды 2,2 МЛН
How to Put a Website Online: Template, Coding, Domain, Hosting, and DNS
59:26
freeCodeCamp.org
Рет қаралды 2,4 МЛН
Awesome UI Interactions with the CSS Clip Path Property
16:15
DesignCourse
Рет қаралды 340 М.
Learn Sass in this Free Crash Course - Give your CSS Superpowers!
46:26
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН