Web front-end-css face question

Source: Internet
Author: User

1. What are CSS selectors?

2, the CSS priority selection process?

The priority compound nearest to the principle, with the weight of the case limited to select the nearest attribute.

The loading style is based on the last loaded positioning.

Priority level:

!important > ID > Class > tag (important to precedence over inline style)

3, elaborated the new pseudo-class of CSS3.

4, how to center div? How do I center a floating element? How do I get an absolutely positioned div centered?

Div Center: Give div a width, then add margin:0 auto;

Center Floating element:

Absolutely positioned div centered:

5. What are the values of the properties display? Explain their role.

6, Position value relative and absolute positioning principle?

7, the process of creating a triangle with pure CSS?

8. How does an invisible gap between Li and Li form? The corresponding solution?

9. Why CSS styles are initialized?

Because of browser compatibility issues, different browsers have their own default values for some tags, if not implemented CSS initialization, that is, does not solve the browser compatibility problems, it will cause the page to display differences in different browsers.

10. What are the new features of CSS3?

I myself is a 5-year front-end of the old programmer, resigned at present as a lecturer, I spent one months earlier this year to organize a most suitable for 2018 learning Web front-end dry, from the most basic html+css+js to mobile HTML5 to a variety of frameworks have collated, to each front-end small partners, Here is a small white gathering place, welcome to beginner and advanced in the small partners. "

Web front-end data learning Group: 618522268

In order to thank everyone for their support, today I am here to unify the next, pay attention to the public number: ' Web front-end Edu ', you can receive a full set of video learning materials!

Web front-end-css face question

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.