May 11, 2020 02:46 pm GMT
Original Link: https://css-tricks.com/turning-a-fixed-size-object-into-a-responsive-element/
Turning a Fixed-Size Object into a Responsive Element
I was in a situation recently where I wanted to show an iPhone on a website. I wanted users to be able to interact with an application demo on this mock phone, so it had to be rendered in CSS, not an image. I found a great library called marvelapp/devices.css. The library implemented the device I needed with pure CSS, and they looked great, but there was a problem: the devices it offered were not responsive (i.e. they couldnt … Read article “Turning a Fixed-Size Object into a Responsive Element”
The post Turning a Fixed-Size Object into a Responsive Element appeared first on CSS-Tricks.
Original Link: https://css-tricks.com/turning-a-fixed-size-object-into-a-responsive-element/
Share this article:
Tweet
View Full Article