¿Qué es nth-child en CSS?

Quiz sobre CSS: nth-child y linear-gradient

Quiz
•
Engineering
•
12th Grade
•
Medium
Coachs Desarrollo
Used 6+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Un método para agregar imágenes de fondo.
Una propiedad para cambiar el tamaño de los elementos.
Una pseudoclase para seleccionar elementos según su posición.
Una función para crear animaciones.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Cuál es la sintaxis correcta para usar nth-child?
selector:nth-child(n) => { estilos }
selector nth-child(n) { estilos }
selector:nth-child(n) { estilos }
selector:nth-child(n) : { estilos }
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué hace li:nth-child(2) { color: red; }?
No tiene efecto en los <li>
Aplica color rojo al segundo <li>
Aplica color rojo a todos los <li>
Aplica color rojo al primer <li>
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué palabra clave se usa para seleccionar elementos en posiciones impares?
even
odd
all
none
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué palabra clave se usa para seleccionar elementos en posiciones pares?
even
odd
all
none
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué hace la fórmula li:nth-child(3n + 1)?
Selecciona todos los <li>
Selecciona cada tercer <li>, comenzando desde el primero
Selecciona cada tercer <li>, comenzando desde el segundo.
Selecciona el primer <li>
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué propiedad se utiliza para crear un degradado lineal en CSS?
border
color
linear-gradient()
background-color
Create a free account and access millions of resources
Similar Resources on Quizizz
16 questions
Altos hornos

Quiz
•
10th Grade - University
15 questions
SESION 3- EIA en Obra civil - UCT 2024-2

Quiz
•
12th Grade
15 questions
Cuestionario_Trigonometria (1)

Quiz
•
10th Grade - University
15 questions
Inducción - Finca - Temporarios

Quiz
•
12th Grade - University
15 questions
Exploring Laser Applications

Quiz
•
12th Grade
15 questions
Exploring Arithmetic and Geometric Progressions

Quiz
•
12th Grade
22 questions
Modifying Technological Systems

Quiz
•
7th Grade - University
20 questions
Incendio en el Taller

Quiz
•
12th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Engineering
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade