+ 1
What does div class="section" actually do?
I'm in the html class right now and trying to follow the creating a blog thing. I'm trying to get mine to look similar but cant figure out what the above does. I'm wanting the rounded corner background similar to the exame and thought that was it. Any help appreciated.
2 Antworten
+ 2
Giving an element a class can do several things. If you have no CSS and no JS, it will do nothing. If you look in the CSS for something that has:
.section {
/* Stuff */
}
You'll want to add 'border-radius' to the CSS in that section for rounded corners.
+ 2
Awesome! Thanks for the quick answer.