Spinning Diagrams with CSS
31–40 of 45 posts
Re: Spinning Diagrams with CSS
#32That this amount of "whoa that's not a 2D document" can be done by the web's standard stylizing technology is amazing. I'm not (again, personally) 100% convinced it should be this amazing[*], but that's another discussion.
Well done.
[*]: I'm just afraid of the complexity level in modern browsers, that's the other side of the "wow it can do that?" coin.
Re: Spinning Diagrams with CSS
#33The pyramid animation at the top reminds me of 11:30 in this video: https://youtu.be/q6MJSfjXUgQ?t=690 ...which is the same 2D/3D illusion, but made with, you know... humans.
Re: Spinning Diagrams with CSS
#34You can do so much with pure css. Using checkboxes elements to toggle menus comes to mind as one of the lowest hanging fruits. Also detail elements are great.
As much as I like the idea of checkbox toggled panels, it’s worth pointing out that that technique is inaccessible.
Re: Spinning Diagrams with CSS
#35Earlier quoted context omitted.
As much as I like the idea of checkbox toggled panels, it’s worth pointing out that that technique is inaccessible.
Really? Can you explain this a little more? If memory serves I use close/open check boxes that have labels with descriptive aria and IDs. Then toggling one hides itself and reveals the other.
Re: Spinning Diagrams with CSS
#36Here's a fluid-width cube carousel you can stop at its faces: https://ericfortis.github.io/web-animations/#-fluid-3d-cube-... Source: https://github.com/ericfortis/web-animations/blob/main/3d-ca...
Does it work with more than 4 faces while keeping 90 degree turns?
Re: Spinning Diagrams with CSS
#37Earlier quoted context omitted.
Really? Can you explain this a little more? If memory serves I use close/open check boxes that have labels with descriptive aria and IDs. Then toggling one hides itself and reveals the other.
Typically you’d want to toggle aria-expanded to give more hints to users as to what’s actually happening. You also can’t trap focus into the menu purely with CSS, at a minimum you’ll need to use some JS to set an inert attribute. More info / examples here: https://adrianroselli.com/2023/03/css-only-widgets-are-inacc...
Re: Spinning Diagrams with CSS
#38Re: Spinning Diagrams with CSS
#39Pick one.