This cssreset was modified based on EricMeyers, and the initialization style of the corresponding tag was adjusted for html5. This css reset was modified based on Eric Meyers's CSS reset, and the initialization style of corresponding labels was adjusted for html5.
/*
Html5doctor.com Reset Stylesheet
V1.4
2009-07-27
Author: Richard Clark-http://richclarkdesign.com
*/
What is updated?
Removed tag styles that are not favored in HTML5, such ...... Added the HTML5 label style, removed the default padding, margin, and border, and determined that the display attribute of the elements that should be displayed as block-level elements is block.
Attribute Selector Used
IsThe attribute selector is added to the element to specify a style when the two elements have the title attribute. This is from the perspective of accessibility.
Discussion
Adding outline: 0 to the anchor has serious accessibility issues, which directly leads to keyboard Navigation failure.
Ins and mark do not need to add the background color when the font color is not set.
More content click here: http://html5doctor.com/html-5-reset-stylesheet/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.