12.16~12.23 Weekday Log

Source: Internet
Author: User

 2016.1.41. Clear Floating Methodhttp://blog.csdn.net/clare504/article/details/39524215
To add an empty element using a pseudo-class. clearfix:after {content: "\0020";Display:block; height:0;Clear:both;   }. clearfix {zoom:1;   }"Clearfix" is the class name of the parent container, "Content:" 020 ";" is to place a white space character at the end of the parent container, "height:0;" Is let this this whitespace character not show out, "Display:block; Clear:both; " is to ensure that this whitespace character is a non-floating, independent block. However,: after the selector IE 6 is not supported, that is, the above code in IE 6 is not valid, what to do? we add a unique command for IE 6 "zoom:1;" All right, the purpose of this command is to activate the parent element's "haslayout" property so that the parent element has its own layout. IE 6 will read this command, and other browsers will ignore it directly.
 2. Remove the A-label default underlinea{Text-decoration:none;}
 3.div Draw Slashhttp://www.cnblogs.com/newsea/p/3781110.html
 . u-dater{position:relative;background-color:transparent;} . u-dater:before{content: "";Position:absolute;Left:.45rem;Top:1.2rem;Border-left:1.2rem solid transparent;Border-bottom:.8rem solid #d9d6a4;} . u-dater:after{content: "";Position:absolute;Left:.5rem;Top:1.25rem;Border-left:1.2rem solid transparent;Border-bottom:.8rem solid white;} 2016.1.5, 1.61.div Content right-alignedText-align:right;
 3. Mobile Device Responsive Designwhen the page needs to occupy only one page, the height is expressed in VH

12.16~12.23 Logbook

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.