Guidance:1. Do not use position
In this case, each layer follows the HTML positioning rules. The left, right, top, and bottom positioning information is invalid, and the Z-index will not work because there is no Cascade.
2. Use absolute
If the
Example:
. Box {Width: 200px;Border: 10px solid # 99c;Padding: 15px;Margin: 20px;}
content
As you can see, a box consists of four independent parts. The outermost part is the border (margin), which is always transparent. The second part
After a busy period of time, I learned a lot about the front-end interface. Record what you think and feel...
1. webpage layout, background color, and overall style
Common webpage la s include top, footer, and center ). The top menu is generally
I. Basic Code
2. Add Borders1. Normal black border (black by default in the browser)
2. Simple CSS decoration box① ② ③ ④ ⑤ ⑥ 7 Border
① (3) (4) (6) (7)
3. Add a CSS Filter1. No parameter Filters① Black and white② Negative film③ X-ray film④
untitled document
AAA aaaaaaa li_row1_left l_r_r1 li_r2_l li_r_row2 li_row3_left li_r_r3
(Note: For ease of copying and viewing, the Code insertion function is not used !)
:
Original address http://www.jankoatwarpspeed.com/post/2008/07/27/Enhance-your-input-fields-with-simple-CSS-tricks.aspx
The wording of the first translation of technical articles should be inappropriate. We also ask readers to criticize and correct
The famous web design website CSS-tricks.com recently organized a survey to ask 15 top web designers to put their own expectations on CSS, 15 designers including Jon Hicks, Wolfgang bartelme, mint Shaun Inman and stuff and nonsense Andy Clarke.
The
This is an article published by a Greek web designer named Christos chiotis in cssglobe about the application of golden split rate in CSS. The golden split rate is a widely used mathematical constant, about 1.6180339887. The golden split rate is
1. Some background images used on the page. If they are small images, they should be merged into an image and then set the background image position through background-position.
The benefits of doing so are:
A. The size of an image is smaller
static page turning effect implemented by CSS + JS [text and text] notice of the Scientific Research Office on scientific research achievement registration [Image and text] notice on removing software such as stock trading chats [Image and
1. All except Ie can be recognized 2. all IE identifiable 3. only ie5.0 can recognize 4. only ie5.0 and ie5.5 can be recognized 5. both ie5.0 and ie5.0 can be recognized 6. only IE6 can recognize 7. versions earlier than IE6 and IE6 are
CSS-body background gradient CSS 1. Gradient body from top to bottom {filter: progid: DXImageTransform. microsoft. gradient (gradienttype = 0, startcolorstr = # ffffff, endcolorstr = #000000);} 2. Gradient body from top left to bottom right {filter:
Use CSS to customize the blog link font and link underline style when you place the cursor over the link font, the link font size changes, the color changes, and the background color is displayed. Font-size: 23 indicates the font size. Background: #
The effect is as follows:
Front-end code:
Add a new book Update a library webpage dynamics sales promotion management special offer management book browsing
CSS:
# Men{Margin: auto;Font-family: 文;Font-size:
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