"Java Web"--css+div summary

Source: Internet
Author: User

Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /southeast ">

After learning the video of Css+div, I feel very clear, do not see not know, a look scared jump. The original CSS can add a lot to the page!

CSS full name is cascading style Sheet, cascading style sheet. It separated the style and content of the Web page, and realized the decoupling of the two. Let the style of control more flexible.

In the HTML family. CSS is mainly responsible for HTML style, JS is often triggered events, XML can transmit a small amount of data, Ajax mainly asynchronous refresh. They are both decoupled from the content of the Web page and enhance cohesion.

CSS is easy, with three selectors: ID (#), Label, Class (.).

The format is the symbol + name +{}, and {} inside the attribute + attribute value .

For example, the symbol in front of theID category name is #. The label is written directly in the name of the category where the name of the tag is written (for example: span) to:

These three selectors cover the style control of the entire CSS. Any element that can be seen on a Web page. can be polished with CSS. It controls not only size, shape, color, but also the layout of the page. This will use elements such as div and span.

CSS is really easy. But it's not easy to do a Web page.

Here is a summary of the beginning, and constantly summed up the move it ~


"Java Web"--css+div summary

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.