5 Very Useful Tips of CSS Every Web Designer/Developer Should Know
(Don't use when using any framework like Bootstrap)
*
{
margin:0px;
padding:0px;
}
I have given good articles over the past year and thought it might be very helpful for the Designer/Developer both.
1. Reset your CSS
Reset your CSS before you start for your new project, it will be really helpful for the browser compatibility, something like this:*
{
margin:0px;
padding:0px;
}
2. Use Height 100% in CSS
Try to achieve this tag in your CSS that is 100% height.
3. Use Clear and Float: A Comparison of CSS Clearing Techniques
This is the fundamental basics of a Web page. Use these two techniques very smartly.4. Avoid CSS Hacks
I know it can be very tricky but we should avoid hacks until it’s very badly required.
5. Avoid Absolute Positioning
Using absolute positioning does overlap whatever was in that position and takes no notice of other content at all.
No comments:
Post a Comment