@ElianPujols
Posted
Hola Pedro, espero que esto te pueda servir. ¿Cuáles son las mejores opciones para centrar un div o cualquier otro elemento? Una de las mejores maneras de centrar un div u otra etiqueta es Flexbox, ya que con esta podemos hacer que se adapte y se visualice de mejor manera. ¿Cuáles son las mejores formas/mejores prácticas para nombrar clases CSS? Una de las mejores prácticas para nombrar clases en CSS es la metodología BEM (Bloque, Elemento, Modificador), ya que esta te ayuda a dar una mejor estructura y mantenimiento del código.
Marked as helpful
@skipperr254
Posted
@ElianPujols Hola Elián. Muchas gracias por los comentarios y los consejos. Para el centrado, acabo de aprender a utilizar el posicionamiento absoluto y las traducciones, por lo que los implementé en esta solución. He usado flexbox por un tiempo y quería probar algo nuevo. Seguiré usando flexbox y veré cómo va. Gracias por la introducción a BEM. Definitivamente lo veremos con efecto inmediato.