Showing posts with label CSS. Show all posts
Showing posts with label CSS. Show all posts

The Shapes of CSS

 Source Link:   https://css-tricks.com/the-shapes-of-css/


CSS is capable of making all sorts of shapes. Squares and rectangles are easy, as they are the natural shapes of the web. Add a width and height and you have the exact size rectangle you need. Add border-radius and you can round that shape, and enough of it you can turn those rectangles into circles and ovals.