First, prefaceIn order to Ie5.5~9polyfill HTML5 new features placeholder need to prevent the selection of elements, so on the Internet, books to check the relevant information, recorded here for later review.Second, ie10+ realization Way ──CSS3. unselect { -webkit-user-Select: none; -moz-user-Select: none; -khtml-user-Select: none; -ms-user-Select: none; /* * /-o-user-select: none; User-select: none; }User-select:auto; = user can select the contents of the e
aspect (format: high x Width or default any ), you need to configure rel= "Icons" at the same time, example: 3. attribute type, the resource MIME type introduced, note: The TEXT/CSS must not be specified. Four, attribute disabled detailedThe following is a reference to the content of the link element disable attribute in HTML, and complements some of the pits that have been stepped in the course of practice.1. Attribute and property of the disabled(
First, prefaceIn the JS Magic Hall: jsdeferred Source Analysis, we understand that the IMG element load failure can be used as an optimization scheme for asynchronous execution of functions, this article intends to further explore the loading behavior of IMG elements.Ii. related properties and events for resource loadingResource loading is, of course, the src attribute that determines the location of the re
CSS: befor: the magic of the after pseudo element, befor
This article focuses on several Use Cases of pseudo elements created in CSS: befor and after, such as text filling, iconfont, progress line, timeline, and ry.1. Introduction 1.1
In CSS, "befor" and "after" Create a pseudo element. The "befor" pseudo element is th
The magic effect written by the pseudo elements before and after, and the pseudo element beforeafter
Everyone knows that before and after can write a lot of good results. Today, I accidentally saw a good one. I wrote it by the way and reviewed the differences between pseudo elements and pseudo classes, domo address: http://codepen.io/tianzi77/pen/KpeKXz
Pseudo-classes and pseudo-elements seem simple, and m
corner of the page. If the body's position is relative or absolute, it is the vertical, horizontal distance from the upper-left corner of the outer border of the offsetparent to the upper left of the border of the element.
Note: Under Ie,ff,chrome, the top offsetparent of the quirks mode and standard mode are the body elements, Both body.offsetparent and document.documentElement.offsetParent are null.
Iii. SummaryThis is a basic knowled
JS magic Hall: Attributes of element location and mouse location1. attributes of the mouse position 1. The border, padding, and content areas in the Area box model that triggers the mouse event will trigger the mouse event. clicking the margin area will not trigger the mouse event. 2. Attribute [a]. evt. pageX/Y under the mouse event object MouseEvent: The reference point in the upper left corner of the pag
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.