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