css CSS ONLY模式

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css CSS ONLY模式相关的知识,希望对你有一定的参考价值。

/* Gradient Stripes */
      
	background: 
	  repeating-linear-gradient(
	    90deg,
	    transparent,
	    transparent 40px,
	    white 40px,
	    white 80px
	  ),
	  linear-gradient(
	    to bottom,
	    #fa1a1f 0%,
	    #690000 100%
	  );
      
	/* IE10 Consumer Preview */ 
	background: 
		-ms-repeating-linear-gradient(
		90deg,
		transparent,
		transparent 40px,
		white 40px,
		white 80px
		),
		-ms-linear-gradient(
		to bottom,
		#fa1a1f 0%,
		#690000 100%
		);
      
	/* Mozilla Firefox */ 
	/*background: 
		-moz-repeating-linear-gradient(
		90deg,
		transparent,
		transparent 40px,
		white 40px,
		white 80px
		),
		-moz-linear-gradient(
		to bottom,
		#fa1a1f 0%,
		#690000 100%
		);*/
      
	/* Opera */
	background: 
		-o-repeating-linear-gradient(
		90deg,
		transparent,
		transparent 40px,
		white 40px,
		white 80px
		),
		-o-linear-gradient(
		to bottom,
		#fa1a1f 0%,
		#690000 100%
		); 
      
	/* Webkit (Safari/Chrome 10) */
	background: 
		-webkit-repeating-linear-gradient(
		90deg,
		transparent,
		transparent 40px,
		white 40px,
		white 80px
		),
		-webkit-linear-gradient(
		to bottom,
		#fa1a1f 0%,
		#690000 100%
		);
      
	height: 100%;
      

以上是关于css CSS ONLY模式的主要内容,如果未能解决你的问题,请参考以下文章

css 简单的CSS-Only行和列突出显示

css safari-only hack

scss CSS Only Dropdown

css 来自Lester网站的@media only片段

css tweak.pay4payments.hide功能于购物车页面,only.css

css http://stackoverflow.com/questions/5460129/drop-shadow-only-bottom-css3/5474913