Home >Web Front-end >HTML Tutorial >Some easily overlooked css3 attributes_html/css_WEB-ITnose

Some easily overlooked css3 attributes_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 11:43:221645browse

1. -webkit-tap-highlight-color

When you click the button on the mobile page, you will find that a shadow will appear on the button. Set -webkit-tap-highlight-color: rgba(0,0,0,0); That’s it. Set the shadow to transparent and it will be invisible;

2. -webkit-line-clamp

Limited to one block element The number of lines of text displayed can be combined with other properties to set the effect of multi-line text overflow ellipses

3. -webkit-text-stroke

Text borders can be combined color:transparent; Set the effect of hollow text

4. -webkit-background-clip

Background clipping can achieve the iPhone sliding unlock effect, see css3 to implement iPhone sliding Unlock

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn