arronmattwills
Member
- Joined
- Dec 23, 2013
- Messages
- 323
- Points
- 18
Clear is the most useful css property in web design field.
It will be used in float conditions.
If you say one div has to move to left side and we have a sidebar on right side that sidebar has to move to right side with some width then the next design part should be cleared.
After saying float left and float right then we should take one more extra div apply a class called clear. The clear class syntax will be like this:
It will be used in float conditions.
If you say one div has to move to left side and we have a sidebar on right side that sidebar has to move to right side with some width then the next design part should be cleared.
After saying float left and float right then we should take one more extra div apply a class called clear. The clear class syntax will be like this:
.clear {
Clear: both;
}