Welcome to
ReDI School Munich - Spring 2021
But first...
Lets have a look to these boxes
We can say there are two main types of boxes
This will tell us how do they interact with other elements and how they behave
In order to change the type of the box we use the display property
.block {
display: block
}
.inline {
display: inline
}
More on display propertyThese properties apply only to the content!
width + padding + border = actual width of an element
height + padding + border = actual height of an element
DEMO!
.border-box {
box-sizing: border-box;
}
.content-box {
box-sizing: content-box;
}
Create a page that includes a Contact form, with the following fields
You must use the tags learned in the class to have at least header, navigation, main and footer