Monday, 17 November 2014

Fading Buttons With CSS Flex

dots created with the css property flex
Fading Buttons With CSS Flex
Blue
Yellow
Green
Red
Orange
Pink
Here we have same sized buttons. CSS flex property makes it easy to create same sized objects. To make them more exciting I have added the transition property to them as well. The flex property can also be wrapped by using flex-wrap:wrap. To show it in Chrome, Safari and Opera don't forget to put the prefix -webkit- in front of flex-wrap.The border-radius has been set to 50% for the circles.
Note that hover will not work on a tablet.


HTML&CSS

No comments:

Post a Comment