width
en CSS. Los valores se pueden dar en unidades de longitud relativa (como em), unidades de longitud absoluta (como px) o como un porcentaje de su elemento principal que contiene. Aquí hay un ejemplo que cambia el ancho de una imagen a 220px: img {
ancho: 220px;
}
width
a toda la tarjeta y establézcala en un valor absoluto de 245px. Usa la clase fullCard
para seleccionar el elemento. width
de la tarjeta a 245 píxeles usando el selector de clase fullCard
.
testString: 'assert(code.match(/.fullCard\s*{[\s\S][^}]*\n*^\s*width\s*:\s*245px\s*;/gm), "Your code should change the width
property of the card to 245 pixels by using the fullCard
class selector.");'
```
Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.