2015 Baidu Noodle Sutra

Source: Internet
Author: User

Baidu asked the question of openness, it should be to examine your comprehensive ability, asked two questions

One, html&css involves a content block element with inline elements, floats, clears floating

1, a 100px container, inside stuffed with an empty div, this div marginleft for 10,borderleft,borderright for 10,paddingright for 10, then ask this empty div width for? Why?

width=60px, because the div is a block-level element, the block-level element fills the parent element by default

2, how to let this div not fill the parent element, but instead of the content and adaptive?

Disply:inline,float:left: What else????

3, float and clear float? How much does the after pseudo element support?

Two, JavaScript involves the content of event binding, event delegation ...

1, Weibo nickname, Avatar, @ the mouse will appear when the person's business card, how to achieve?

2, how to bind event to avatar? How to send data?

3, the mouse quickly across the time does not show the business card, how to achieve?

  

2015 Baidu Noodle Sutra

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.