Applied Visual Design: Use the CSS Transform scale Property to Scale an Element on Hover
https://www.freecodecamp.org/learn/responsive-web-design/applied-visual-design/use-the-css-transform-scale-property-to-scale-an-element-on-hover
This seemed like a pretty straightforward exercise -
add :hover to the div -
add transform: scale(1.1); to the styling and that’s it!
But no, something is amiss and I don’t see what it might be.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
div:hover {
width: 70%;
height: 100px;
margin: 50px auto;
background: linear-gradient(53deg,
/* #ccfffc, */
#ffcccf);
transform: scale(1.1);
}
</style>
</head>
<body>
<div></div>
</body>
</html>