Tell us what’s happening:
I believe this code is correct but its not being accepted. What can try so the site accepts it? Im using Chrome and my zoom is at 100%
EDIT: I was missing a semi colon, im dumb
Your code so far
<style>
.ball {
width: 40px;
height: 40px;
margin: 50 auto;
position: fixed;
background: linear-gradient(
35deg,
#ccffff,
#ffcccc
);
border-radius: 50%;
}
#ball1 {
left: 20%;
}
#ball2 {
left: 65%;
transform: scale(1.5)
}
</style>
<div class="ball" id= "ball1"></div>
<div class="ball" id= "ball2"></div>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36
.
Challenge: Use the CSS Transform scale Property to Change the Size of an Element
Link to the challenge: