You can use HTML 5 and CSS 3 immediately.

Source: Internet
Author: User
Use CSS style 3
  • The third is based on the relevant CSS style principles. The selector and cascade are so good that we know the early versions from CSS. It adds new features, including new selectors, pseudo classes, and attribute loads. Using these features makes it easier to create new functional la S. Let's dive in.
  • Basic settings
  • First, we need to define some basic rules for the layout, background color web pages, and you will realize from all these CSS 2.1
  • View Plain Copy to clipboard print?
  • /* Add a second-line CSS reset */
  • (
  • Deposit: 0;
  • Fill: 0;
  • )
  • /* Tell the browser to display 5 HTML elements */
  • Header, footer, one side, net asset value, number (
  • Display: block;
  • )
  • Body (
  • Deposit: 0 car;
  • Width: 940px;
  • Font: 13px/22px,, unlined;
  • Background: # f0f0f0;
  • )
  • H2's (
  • Font size: 28px;
  • Line Height: 44px;
  • Fill: 22px 0;
  • )
  • H3's (
  • Font size: 18px;
  • Line Height: 22px;
  • Fill: 11px 0;
  • )
  • P (
  • Fill bottom: 22px;
  • )
  • Related Article

    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.