freeCodeCamp's Use the CSS Transform scale Property to Scale an Element on Hover VIDEO
In this lesson from freeCodeCamp's Applied Visual Design section we look at a the transform property once again. We practice with the scale function on a div. This one is different than the last lesson because the scale function will only run :hover (on hover). We use the on hover pseudo class on our div to only apply the style on hover. Using this pseudo class can allow us to add cool visuals to our page. Practice and don't be afraid to experiment.
Other Videos By We Will Code 2018-10-14 freeCodeCamp's Make a CSS Heartbeat using an Infinite Animation Count 2018-10-14 freeCodeCamp's Animate Elements Continually Using an Infinite Animation Count 2018-10-10 freeCodeCamp's Create Visual Direction by Fading an Element From Left To Right 2018-10-09 freeCodeCamp's Create Movement Using CSS Animation, Applied Visual Design 2018-10-04 freeCodeCamp's Modify Fill Mode of an Animation, Applied Visual Design 2018-10-04 freeCodeCamp's Use CSS Animation to Change the Hover State of A Button, Applied Visual Design 2018-10-01 freeCodeCamp's Create a More Complex Shape Using CSS and HTML 2018-09-30 freeCodeCamp's Create a Graphic Using CSS, Applied Visual Design 2018-09-28 freeCodeCamp's Use the CSS Transform Property skewY to Skew 2018-09-28 freeCodeCamp's Use the CSS Transform Property skewX to Skew an Element Along the X-Axis 2018-09-27 freeCodeCamp's Use the CSS Transform scale Property to Scale an Element on Hover 2018-09-27 freeCodeCamp's Use the CSS Transform scale Property to Change the Size of an Element 2018-09-26 freeCodeCamp's Create Texture by Adding a Subtle Pattern as a Background Image, url function 2018-09-25 freeCodeCamp's Use a CSS Linear Gradient to Create a Striped Element 2018-09-24 freeCodeCamp's Create a Gradual CSS Linear Gradient, Applied Visual Design 2018-09-22 freeCodeCamp's Adjust the Tone of a Color, Applied Visual Design 2018-09-22 freeCodeCamp's Adjust the Hue of a Color, Applied Visual Design 2018-09-21 freeCodeCamp's Adjust the Color of Various Elements to Complementary Colors, Applied Visual Design 2018-09-20 freeCodeCamp's Learn about Tertiary Colors, Applied Visual Design 2018-09-19 freeCodeCamp's Learn about Complementary Colors, Applied Visual Design 2018-09-18 freeCodeCamp's Center an Element Horizontally Using the margin Property, Applied Visual Design
Tags: transform property
change element size
scale element
:hover
on hover
pseudo class