- If you put overflow: hidden in the .section, it "contains" the floats and you don't need to set a height. If for .cont_a, .cont_b… you can always give a min-height instead of a height, and thus, if the content for whatever exceeds the container, even if it does not look as good it will not be superimposed.
- Remember that typographic properties are inherited. If you declare the font-family: 'Open Sans' in the body, sans-serif be applied by default to all elements and it is not necessary to declare it again.
I leave you a couple more courses in case you want to continue advancing on the web:
2 comentarios
displayname789938
Very good !
displayname195228
Profesor Plus@unmedia Hello! Work is fine, congratulations!
Some things that I would improve:
- If you put overflow: hidden in the .section, it "contains" the floats and you don't need to set a height. If for .cont_a, .cont_b… you can always give a min-height instead of a height, and thus, if the content for whatever exceeds the container, even if it does not look as good it will not be superimposed.
- Remember that typographic properties are inherited. If you declare the font-family: 'Open Sans' in the body, sans-serif be applied by default to all elements and it is not necessary to declare it again.
I leave you a couple more courses in case you want to continue advancing on the web:
- One on web development techniques with HTML5 and CSS3 (this is not directed by me, but I have helped to organize it): https://www.domestika.org/es/courses/99-tecnicas-de-desarrollo-web-con-html5-y-css3/martuishere
- And a course on SVG graphics: https://www.domestika.org/es/courses/169-graficos-vectoriales-svg-ilustrar-y-animar-con-codigo/htmlboy
Regards, and thank you very much!
Entra o únete Gratis para comentar