How would you animate this sidebar toggle?
Animation: Rotate In on Open and Rotate Out Reverse on Close: asking for Feedback
how to change the color to red in Material UI ?
Regex pattern returns true, while inside function returns false
centering div issue
Horizontal layout webpage
Creating an Infinite Vertical Carousel with Framer Motion
Astro - how to pass data from the server- to the client-side JavaScript
Curve in the end for the last navigation link
What is the most "Semantic" way of adding svg's inside button elements?
Weather App
problem with a masonry layout . help needed pls
Continuous text change depicting encryption/security using code
Problem with a basic responsive container, which needs a min-height even when empty
#content
div in the middle section of this Codepen, which holds the content. This #content
div is supposed to be 80% height of its parent (the middle cyan/teal section) when empty/to begin with, and should grow to scale to content size.
I can't get it to both: (1) grow with content without overflowing (which is what is currently happening in this codepen), and also (2) have a minimum size even when empty. eg when the #content
div is empty, it should still be 80% height/width of the parent box. The #content
div disappears entirely if I add code to make the middle section grow based on content....Icon inside Button
fontawesome 6 icon <i></i>
inside it and it's well aliged with the text in the button. As it was little bit bigger I changed the font-size
of it. Now the icon is not vertically aligned. I tried using svg
which works fine and it's alignment is not affected by the font-size of the button. Why is that. Picture and codepen link are given.
CODE PEN:
font-size on line 37.
https://codepen.io/Arslan-Akbar/pen/oNJMNqY...Struggling with the new view transitions API
IntersectionObserver [JS]
Button positioning
NextJS,