What other lesser-known HTML5 elements should I cover?
@pj75464 жыл бұрын
I think you should try Im not really sure how to use it
@aglowkeys4 жыл бұрын
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.
@elvinchu4 жыл бұрын
@WinterSnowism4 жыл бұрын
@@pj7546 optgroup?
@pj75464 жыл бұрын
@@WinterSnowism Its
@vimalrajm14194 жыл бұрын
8:26 'open' is an attribute added to details tag when clicked on it, it is same as input[type=text]
@sebastienlehmann38154 жыл бұрын
You may improve your animation by using transform: translateY(-10px) instead of maring-top. Also using rotate(.5turn) instead of changing SVG url.
@markabc1784 жыл бұрын
Could you explain why the animation is better with translateY instead of margin-top?
@snakone4 жыл бұрын
@@markabc178 things like margin, width, padding are the most expensive properties to animate
@markabc1784 жыл бұрын
@@snakone Like performance wise? good to know
@snakone4 жыл бұрын
@@markabc178 Gary got a video talking about css animations and which elements are the most expensive to move or alter
@sebastienlehmann38154 жыл бұрын
@@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.
@AlphaScorpii864 жыл бұрын
The outline actually serves a purpose from a UX standpoint: to indicate that the element is focused when navigated with a keyboard.
@MaxWeir4 жыл бұрын
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
@markabc1784 жыл бұрын
Please do more of these. Really helpful and interesting
@leandro55pt622 жыл бұрын
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
@GammaWraith4 жыл бұрын
Nice find Gary, it's been a while. Glad to be back ! :)
@jsphpndr4 жыл бұрын
@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. 😂😂😂
@siddharthpatel33654 жыл бұрын
LOL I LITERALLY STARTED USING THEM YESTERDAY TOO
@CodingUnited4 жыл бұрын
Twitter?
@cybermaster67524 жыл бұрын
kzbin.info/www/bejne/mV6WiZVjhsZlaLc
@acke51804 жыл бұрын
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!
@katemc5164 жыл бұрын
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Ай бұрын
how did u use font-awesome for that?
@pgmattic4 жыл бұрын
Gary is the man. He is the best design channel I came across.
@vaspar58524 жыл бұрын
I was wondering how to get an accordion and yes you discovered it! Thank you
@quirkymarshmallow93244 жыл бұрын
Thanks for showing this. I plan to use it at my work. Really neat!
@joeltecua42044 жыл бұрын
Gracias por compartir tus conocimientos, sin duda un gran soporte de aprendizaje, saludos desde Ciudad de México.
@Well_This_Guy_Says4 жыл бұрын
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
@RuneScapeZammy4 жыл бұрын
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 +.
@cybermaster67524 жыл бұрын
kzbin.info/www/bejne/mV6WiZVjhsZlaLc
@mablisho4 жыл бұрын
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_journey4 жыл бұрын
There are a looot of wired uncommon tags like these... great video Gary 🔥
@cybermaster67524 жыл бұрын
kzbin.info/www/bejne/mV6WiZVjhsZlaLc
@ognjenstefanovic46064 жыл бұрын
Instead of changing the image from down to up, you could rotate it for 180 deg, with transformation. Might look cooler.
@hlopes5866 ай бұрын
why is that when im testing it only animates the first time...?
@CoolScratcher4 жыл бұрын
Amazing new style! I love it.
@MultiMemich4 жыл бұрын
Adding rotation animation for the svg would be better, but still this is awesome stuff, keep it coming.
@nicholasfactor4 жыл бұрын
right
@cybermaster67524 жыл бұрын
kzbin.info/www/bejne/mV6WiZVjhsZlaLc
@robertaw12214 жыл бұрын
That is what I expected Gray to do when he mentioned about it changing.
@mauriciabad4 жыл бұрын
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
@cybermaster67524 жыл бұрын
kzbin.info/www/bejne/mV6WiZVjhsZlaLc
@zsoltbalogh27464 жыл бұрын
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 Жыл бұрын
Uh, I don't think so... Internet Explorer has been completely depricated and is no longer in use.
@xelsor3 жыл бұрын
using &:hover { background: rgb(120, 120, 120); } does not work for some reason
@giorgosbathory86984 жыл бұрын
how do i align them in to the right side of the page
@friday2.0544 жыл бұрын
Dude....will you make video on most importants tag with CSS examples....plzzzz
@madhusudhan59844 жыл бұрын
Hello sir, I often confused how to use media quaries . Can you please make a video for that sir.
@elfridhasman41814 жыл бұрын
Thank You Very Much Gary😊
@nicholasfactor4 жыл бұрын
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
@sahej974 жыл бұрын
New intro looks good
@maxdevgenius54694 жыл бұрын
awesome i never new it before thanks for the tricks bro always present for the tutorials
@victordavid22924 жыл бұрын
can we use this for dropdown menu nav bar?
@ahsankhan-nc6wd4 жыл бұрын
very very awesome.. sir you save my day
@AdeyCoder4 жыл бұрын
Awesome ☺ makes things simpler thank you.
@randeltagayun16544 жыл бұрын
Wow intead using checkbox for accordion maybe i'll used this thank you for this 👆
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.
@hayleykornilenko63144 жыл бұрын
I have noticed the svg does not work on Firefox. Has anyone else had this issue?
@julianandresrodriguezalman42704 жыл бұрын
I have a question, how I could animate when it is closing?
@wejesuss-11043 жыл бұрын
currently, just with javascript code
@thetranquilchannel4 жыл бұрын
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.location4 жыл бұрын
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-fd4ml3 жыл бұрын
Hey please make video on how to create video player
@aaronbell59944 жыл бұрын
This is awesome!!
@nerdiloo98634 жыл бұрын
Hehe I have to admit I started using this in 2019 - good find DC.
@nicholasfactor4 жыл бұрын
sameeeeeeeeeeeeeee
@galynaprog8574 жыл бұрын
Not supported in IE
@dgloria4 жыл бұрын
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.
@cybermaster67524 жыл бұрын
kzbin.info/www/bejne/mV6WiZVjhsZlaLc
@pj75464 жыл бұрын
Try the outgroup
@DevsLikeUs4 жыл бұрын
Love it !
@thevividversatilechannel48073 жыл бұрын
2:54 Just put *1 at the end! details*1 instead of details
@eftiprwtopapadakis93104 жыл бұрын
It seems that html5 and css3 have so many to offer us that javascript is really for advanced behavior
@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
@arturlomakin35554 жыл бұрын
I knew this, but I didn't know how to style that
@eddytech37673 жыл бұрын
I just used them last week, when I was learning sass
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.
@PappuShankar4 жыл бұрын
First comment and view
@ruiyang6264 жыл бұрын
Hi
@AsithWijenayake4 жыл бұрын
👏👍
@devdin81574 жыл бұрын
Hi I'm first
@portlyoldman4 жыл бұрын
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.