Web front-end Development Learning notes (i)

Source: Internet
Author: User

Recently in the review of Web front-end development knowledge, so the sophomore last semester have learned something to go over, put oneself in doing once homework encountered meaningful point all down.

Homework1:http://my.ss.sysu.edu.cn/wiki/display/web/homework+1+-+recipe

1.text and Font System Properties Silly division.

In the process of writing, encountered such a problem: Change the font color, change the font style, to underline the text and so on these operations corresponding to the attributes are not clear, the reason, I think it is the CSS text and CSS font of the two attributes are not clear, so the commonly used properties to make a summary of it:

Font: font-family,font-style,font-weight,font-size

Text: Text-align,color (this should be noticed!) ), Text-decoration,text-transform,text-indent

2. The job mentions a requirement that the background image be fixed-the background-attachment attribute is needed.

This property has two values: fixed and scroll, but from here I think of another point:

So many properties about the background, such as:

Background-attachment,background-color, Background-image, background-position,background-repeat

One of the background-position,background-repeat,background-attachment is to serve the background-image, this is perhaps a feature of CSS it-- Some properties are for other properties.
Also, background-position This attribute is also worth mentioning, it is used to set the background image of the starting position, background image if you want to repeat, it will start from this point (is also related to background-repeat)

3. And Px,pt,em,ex These values are something, this online is a lot of, I do not detail.

Web front-end Development Learning notes (i)

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.