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)