Found 4 bookmarks
Custom sorting
Create Responsive Image Effects With CSS Gradients And aspect-ratio — Smashing Magazine
Create Responsive Image Effects With CSS Gradients And aspect-ratio — Smashing Magazine
A classic problem in CSS is maintaining the aspect ratio of images across related components, such as cards. The newly supported `aspect-ratio` property in combination with `object-fit` provides a remedy to this headache of the past! Let’s learn to use these properties, in addition to creating a responsive gradient image effect for extra flair.
·smashingmagazine.com·
Create Responsive Image Effects With CSS Gradients And aspect-ratio — Smashing Magazine
How to Use CSS Gradients on the Web
How to Use CSS Gradients on the Web
In this tutorial you’ll learn about using gradients on the web. I’ll give you some examples, some exercises (such as how to create gradients for borders), and I’ll also throw in some useful...
·webdesign.tutsplus.com·
How to Use CSS Gradients on the Web