Study Notes for HTML5 and CSS3 basic tutorials-Three Day, threedaysChapter 2
1. box-sizing: border-box (include padding and border in width and height)
2. clear: display the elements behind the floating element.
3. z-index is only valid for absolute,
5 best free online website CSS validators and 5 css
Here is a list of websites with 5 free online CSS validators. These websites allow you to verify the freedom of your CSS code without any trouble. You can choose to upload a file, verify the CSS
The third edition of CSS3 tips covers HTML5 Study Notes 13 ~ Chapter 17, css3html5In Chapter 13th, the float (floating) attribute is used to build a floating-based layout. Note: The float: none value will cancel all float, which is usually used only
Box-shadow, four shadows of boxshadow
Learning address http://blog.csdn.net/freshlover/article/details/7610269
Shadow Type: this parameter is optional. If no value is set, the default projection method is the external shadow. If its unique
How to Set a horizontal navigation structure and a horizontal navigation structure
How to set the horizontal navigation structure
The two methods for setting the horizontal navigation structure are described here, mainly by using the list structure.
CSS automatic line feed, force line break, force line break, excessive display ellipsis
P labels are automatically wrapped by default. Therefore, setting the width can achieve better results. However, recently, after loading data using ajax, the
Div table set height vertical center, horizontal center
Recently, when I was working on a project, I encountered a problem:DivWhen creating a table, you cannot center the table horizontally or vertically.
Vertical-align: middle; is used for vertical
Mobile phone classification page implementation, terminal classification pageLet's not talk about it first. First, I split the page into the following modules. There are several important points to note: 1. Click "City 1" and "City 2" in section 1
CSS note-padding, margin is the reference object for percentage calculation, paddingmargin
The padding of div is a percentage.
When padding-top, padding-bottom, margin-top, and margin-bottom are percentagesWidth of the parent ElementTo compute
1.
Placeholder style settings, placeholder Style
In the input box, if you want to set the entered word and placeholder to different colors or other effects, you can use the following code to set the style of placeholder.:-Webkit-input-placeholder {}/*
Border-radius knowledge point, borderradius
Border-radius: 50px; border radius CSS measurement values: em, px, percentageIf one value is set, this value is used for all four rounded corners. If two values are set, the first value is used in the
CSS Learning (18th)-scroll bars, drag elements, and outlinesI. theory:1. overflow-x/overflow-yA. Default Value of visible. No scroll bar is added.B. Add a scroll bar in autoC. When the hidden content overflows the container, all content will be
Deep understanding of stack z-index and cssz-index in CSS positioning* Directory [1] define [2] stack rules [3] stack context [4] compatible with previous words
In the end, two elements try to put them in the same position. Obviously, one of them
DIV floating IE text produces 3 pixel bug
Description: DIV floating IE text generates a 3-pixel bug. The left object is floating on the right side. The left margin of the outer patch is used to locate the bug. The right object (div) is separated by 3
CSS Learning (13th)-Theory and Practice of text line breaksI. theory:1. word-wrap is used to break words rather than broken characters2. word-break:A. break-all allows non-Chinese characters to be disconnected.B. keep-all cannot be disconnected from
Adaptive process on the left side of CSS fixed width (compatible with all browsers)
CSS style
body,ul,li { margin:0; padding:0;}ul,li { list-style:none;}.form-table { width: 600px; height: 330px; margin:10px auto; overflow: hidden; padding:
CSS Learning (11)-CSS text OverflowI. theory:1. text-overflowA. clip does not display the omitted markB. ellsis ipdisplay omission mark
Ii. Practice:
1.
I just want to see if it is delicious. If I don't have one, I can find another place. I changed
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.