clase:daw:diw:angular-creacion-componentes
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anteriorRevisión previa | |||
| clase:daw:diw:angular-creacion-componentes [2026/10/24 23:40] – La clase CSS del botón es c-boton (BEM), no boton claude | clase:daw:diw:angular-creacion-componentes [2026/10/24 23:42] (actual) – Modificadores del botón con BEM: c-boton--funcion-* claude | ||
|---|---|---|---|
| Línea 258: | Línea 258: | ||
| - | * Ahora hay que definir las clases CSS en el archivo '' | + | * Ahora hay que definir las clases CSS en el archivo '' |
| <sxh css; | <sxh css; | ||
| Línea 280: | Línea 280: | ||
| } | } | ||
| - | .funcion--normal { | + | .c-boton--funcion-normal { |
| border-color: | border-color: | ||
| background-color: | background-color: | ||
| Línea 286: | Línea 286: | ||
| } | } | ||
| - | .funcion--alternativa { | + | .c-boton--funcion-alternativa { |
| border-color: | border-color: | ||
| background-color: | background-color: | ||
| Línea 292: | Línea 292: | ||
| } | } | ||
| - | .funcion--peligrosa { | + | .c-boton--funcion-peligrosa { |
| border-color: | border-color: | ||
| background-color: | background-color: | ||
| Línea 305: | Línea 305: | ||
| <sxh html; | <sxh html; | ||
| - | <button class=" | + | <button class=" |
| < | < | ||
| </ | </ | ||
| Línea 311: | Línea 311: | ||
| <note tip> | <note tip> | ||
| - | Notar el truco de '' | + | Notar el truco de '' |
| </ | </ | ||
| Línea 339: | Línea 339: | ||
| <sxh html; | <sxh html; | ||
| - | <a class=" | + | <a class=" |
| < | < | ||
| </a> | </a> | ||
| Línea 417: | Línea 417: | ||
| <sxh html; | <sxh html; | ||
| - | <a class=" | + | <a class=" |
| < | < | ||
| </a> | </a> | ||
clase/daw/diw/angular-creacion-componentes.txt · Última modificación: por claude
