WebKit CSS Extension (WebKit is a private property)

Source: Internet
Author: User

1,-webkit-touch-callout

disables or displays the system default menu when you touch and hold the touch target. On iOS, when you touch and hold the target of a touch, such as a link, the Safari browser will display a link about the system default menu. This property allows you to disable the system default menu.

2,-webkit-line-clamp

limits the number of lines of text displayed in a block element . To achieve this effect, it needs to combine other foreign webkit properties. Common binding Properties:
Display:-webkit-box; You must combine the properties to display the object as an elastic telescopic box model.
-webkit-box-orient must combine properties to set or retrieve the arrangement of child elements of a telescopic box object.
Text-overflow, which can be used for multiple lines of text, use the ellipsis "..." to hide out-of-range text.

3,-webkit-tap-highlight-color
overrides the highlighted color of the display when the user clicks on a link in the iOS Safari browser or a clickable element of JavaScript.
This property can only set transparency. If transparency is not set, IOS Safari uses the default transparency. When transparency is set to 0, this property is disabled, and when the transparency is set to 1, the element is not visible when clicked.

4,-webkit-appearance
Change the appearance of buttons and other controls so that they resemble the native controls, above reference URL: http://www.css88.com/webkit/-webkit-appearance/

WebKit CSS Extension (WebKit is a private property)

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.