How do you display a border like this:
The top border = 10 pixels
The bottom border = 5 pixels
The left border = 20 pixels
The right border = 1pixel?
The width of an element's four borders sets the border-width property. This property can contain from one to four values.
<style>
border-width: medium thin 5px thick;
</style>
The top border is medium.
The right border is thin.
The bottom border is 5px.
The left border is thick.
Another example is border-width:10px 1px 5px 20px;
Which property is used to change the left margin of an element?
When using the padding property; are you allowed to use negative values?
How do you make a list that lists its items with squares?
How do you select an element with id "demo"?
How do you select elements with the class name "test"?