CSS secrets, cut fig 01, css secrets fig 01

Source: Internet
Author: User

CSS secrets, cut fig 01, css secrets fig 01

O. REILLY @

Key-> vertical-align: top;

I like tolerance. Am I a broken back mountain?

I am so fucking confused. My slot

Key-> background-image: linear-gradient (to bottom right, gray 0, gray 90%, transparent 91%, transparent 100% );

The graph splitting plan starts from the cover.

The above are all tips. The book says a key point: the illusion of vision is that the point of the point is on the top of the point (silently speaking to yourself, do not use pixels, don't dig yourself ...)

Ss. center-display. object {position: absolute; width: 0.5em; height: 0.5em; top: 0; bottom: 0.8em; left: 0; right: 0; margin: auto; border-radius: 50%; background-color: red; text-indent:-300em ;}. center-display: nth-child (2 ). object {bottom: 0 ;}View Code

A little bit of code in the center and on the top, Can you see which one is really in the center?

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.