Conte-nos o que está acontecendo:
Hi, I am stuck on Step 26 of the Cat Painting project.
I added the following code:
.cat-left-ear {
border-top-left-radius: 90px;
border-top-right-radius: 10px;
}
But I still get the error:
“Your .cat-left-ear selector should have a border-top-left-radius property set to 90px.”
I already reset the lesson and typed it manually, but the error continues.
Can someone help me check what I might be missing?
Seu código até o momento
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>fCC Cat Painting</title>
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<main>
<div class="cat-head">
<div class="cat-ears">
<div class="cat-left-ear">
<div class="cat-left-inner-ear"></div>
</div>
<div class="cat-right-ear">
<div class="cat-right-inner-ear"></div>
</div>
</div>
</div>
</main>
</body>
</html>
/* file: styles.css */
* {
box-sizing: border-box;
}
body {
background-color: #c9d2fc;
}
.cat-head {
position: absolute;
right: 0;
left: 0;
top: 0;
bottom: 0;
margin: auto;
background: linear-gradient(#5e5e5e 85%, #45454f 100%);
width: 205px;
height: 180px;
border: 1px solid #000;
border-radius: 46%;
}
.cat-left-ear {
position: absolute;
top: -26px;
left: -31px;
/* User Editable Region */
.cat-left-ear {
border-top-left-radius: 90px;
border-top-right-radius: 10px;
}
/* User Editable Region */
border-left: 35px solid transparent;
border-right: 35px solid transparent;
border-bottom: 70px solid #5e5e5e;
}
Informações do seu navegador:
Agente de usuário: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0
Informações do desafio:
Aprenda CSS intermediário criando a pintura de um gato - Passo 26