freeCodeCamp's Use the CSS Transform scale Property to Scale an Element on Hover

Lesson Summary

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.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required