Learn Intermediate CSS by Building a Cat Painting - Paso 8

Tell us what’s happening: Buenas tardes, no entiendo muy bien este paso.

Me pide que utilize la función linear gradient y no sé a que se refiere, creo que me estoy liando.
Describe tu problema en detalle aquí.
u

Your code so far

<!-- 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>
    </main>
</body>
</html>
/* file: styles.css */
* {
  box-sizing: border-box;
}

body {
  background-color: #c9d2fc;
}


/* User Editable Region */

.cat-head {
  width: 205px;
  height: 180px;
  border: 1px solid #000;
  border-radius: 46%;
  background:#5e5e5e 85%;
  linear-gradient:#45454f at 100%;
}

/* User Editable Region */

Your browser information:

El agente de usuario es: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15

Challenge Information:

Learn Intermediate CSS by Building a Cat Painting - Paso 8

si hay que usar la función linear-gradient, pero esta tiene una sintaxis que se debe de seguir.
En este artículo se explica como funciona en la sección
sintax y formal sintax se explica la sintaxis y al inicio hay ejemplos

linear-gradient:(color porcentaje, color porcentaje, color porcentaje, ...)
1 Like

Ya está solucionado, gracias por la ayuda .

1 Like