Pure CSS3 Select

Pure CSS3 Select,第1张

概述Pure CSS3 Select

下面是内存溢出 jb51.cc 通过网络收集整理的代码片段。

内存溢出小编现在分享给大家,也给大家做个参考。

<!DOCTYPE HTML><HTML lang="en-US"><head>	<Meta charset="UTF-8">	<Title>Pure CSS3 Select|w3cplus</Title>	<Meta name="keywords" content="CSS3学习,CSS3属性详解,CSS3 Transition,如何学好CSS3">	<Meta name="description" content="W3CPLUS是一个前端爱好者的家园,W3CPLUS努力打造最优秀的web 前端学习的站点。W3CPLUS力求原创,以一起学习,一起进步,共同分享为原则。W3CPLUS站提供了有关于CSS,CSS3,HTML,HTML5,jquery,手机移动端的技术文档、DEMO、资源,与前端爱好者一起共勉。">	<link rel="shortcut icon" href="http://www.w3cplus.com/sites/all/themes/marvin/favicon.ico">	<link rel="stylesheet" type="text/CSS" href="http://www.w3cplus.com/demo/CSS3/base.CSS" media="all" />	<link rel="stylesheet" type="text/CSS" href="CSS/style.CSS" media="all">	<style>body {	background-color:#4a6d8d;	background-image: -webkit-radial-gradIEnt(rgba(197,241,251,.3),transparent),-webkit-linear-gradIEnt(#5c80a2 1px,transparent 1px),-webkit-linear-gradIEnt(0deg,#5c80a2 1px,-webkit-linear-gradIEnt(rgba(255,255,.1) 1px,rgba(255,transparent 1px);	background-image: -moz-radial-gradIEnt(rgba(197,-moz-linear-gradIEnt(#5c80a2 1px,-moz-linear-gradIEnt(0deg,-moz-linear-gradIEnt(rgba(255,transparent 1px);	background-image: -ms-radial-gradIEnt(rgba(197,-ms-linear-gradIEnt(#5c80a2 1px,-ms-linear-gradIEnt(0deg,-ms-linear-gradIEnt(rgba(255,transparent 1px);	background-image: -o-radial-gradIEnt(rgba(197,-o-linear-gradIEnt(#5c80a2 1px,-o-linear-gradIEnt(0deg,-o-linear-gradIEnt(rgba(255,transparent 1px);		background-image: radial-gradIEnt(rgba(197,linear-gradIEnt(#5c80a2 1px,linear-gradIEnt(0deg,linear-gradIEnt(rgba(255,transparent 1px);										background-size:100% 100%,100px 100px,10px 10px,10px 10px;	background-position:0 0,-2px -2px,-1px -1px,-1px -1px;}.demo {	wIDth: 600px;	margin: 80px auto 0;}.control_select {	margin-bottom: 20px;	wIDth: 200px;	float: left;}select {    Font-size: 13px;    Font-weight: bold;    color: #fff;    text-shadow:0 1px 2px rgba(0,.8);    line-height: 1.8em;    wIDth: 90%;    padding: 10px 15px 10px 10px;    border-radius: 3px;    height: 44px;    -webkit-appearance: none;}label {	position: relative;}label:after {	position:absolute;	top: -4px;	right: 12px;	display: inline-block;	content: "ba";	color: #fff;	Font-size: 16px;	text-align: center;	wIDth: 24px;	height: 24px;	border-radius: 3px;	pointer-events: none;}.control_select:nth-child(1) label:after {	Box-shadow: 0 1px 2px #263f57 inset,0 1px 0 #639cc6;	background: -webkit-linear-gradIEnt(top,#2f4f6d,#3c5f80);	background: -moz-linear-gradIEnt(top,#3c5f80);	background: -ms-linear-gradIEnt(top,#3c5f80);	background: -o-linear-gradIEnt(top,#3c5f80);	background: linear-gradIEnt(top,#3c5f80);}.control_select:nth-child(1) select{	border: 1px solID #304455;    Box-shadow: 0 1px 0 #a3c1de inset,0 3px 8px rgba(0,.4);    background: -webkit-linear-gradIEnt(top,#78a4ce,#3e6386);    background: -moz-linear-gradIEnt(top,#3e6386);    background: -ms-linear-gradIEnt(top,#3e6386);    background: -o-linear-gradIEnt(top,#3e6386);    background: linear-gradIEnt(top,#3e6386);}.control_select:nth-child(1) select:hover {    background: -webkit-linear-gradIEnt(top,#8fbfe6,#3d668c);    background: -moz-linear-gradIEnt(top,#3d668c);    background: -ms-linear-gradIEnt(top,#3d668c);    background: -o-linear-gradIEnt(top,#3d668c);    background: linear-gradIEnt(top,#3d668c);}.control_select:nth-child(1) select:active {	Box-shadow: 0 2px 5px #324c64 inset,#416486,#5680a8);    background: -moz-linear-gradIEnt(top,#5680a8);    background: -ms-linear-gradIEnt(top,#5680a8);    background: -o-linear-gradIEnt(top,#5680a8);    background: linear-gradIEnt(top,#5680a8);}.control_select:nth-child(2) label:after {	Box-shadow: 0 1px 2px #572626 inset,0 1px 0 #d177a5;	background: -webkit-linear-gradIEnt(top,#6d2f2f,#803c5d);	background: -moz-linear-gradIEnt(top,#803c5d);	background: -ms-linear-gradIEnt(top,#803c5d);	background: -o-linear-gradIEnt(top,#803c5d);	background: linear-gradIEnt(top,#803c5d);}.control_select:nth-child(2) select{	border: 1px solID #502b3a;    Box-shadow: 0 1px 0 #e1a6bc inset,#d17c9d,#89425d);    background: -moz-linear-gradIEnt(top,#89425d);    background: -ms-linear-gradIEnt(top,#89425d);    background: -o-linear-gradIEnt(top,#89425d);    background: linear-gradIEnt(top,#89425d);}.control_select:nth-child(2) select:hover {    background: -webkit-linear-gradIEnt(top,#e08db0,#924360);    background: -moz-linear-gradIEnt(top,#924360);    background: -ms-linear-gradIEnt(top,#924360);    background: -o-linear-gradIEnt(top,#924360);    background: linear-gradIEnt(top,#924360);}.control_select:nth-child(2) select:active {	Box-shadow: 0 2px 5px #522b3b inset,#7b3b53,#a04e6d);    background: -moz-linear-gradIEnt(top,#a04e6d);    background: -ms-linear-gradIEnt(top,#a04e6d);    background: -o-linear-gradIEnt(top,#a04e6d);    background: linear-gradIEnt(top,#a04e6d);}.control_select:nth-child(3) label:after {	Box-shadow: 0 1px 2px #215325 inset,0 1px 0 #6ec98d;	background: -webkit-linear-gradIEnt(top,#2a682f,#3c805f);	background: -moz-linear-gradIEnt(top,#3c805f);	background: -ms-linear-gradIEnt(top,#3c805f);	background: -o-linear-gradIEnt(top,#3c805f);	background: linear-gradIEnt(top,#3c805f);}.control_select:nth-child(3) select{	border: 1px solID #2d5237;    Box-shadow: 0 1px 0 #a5e0b6 inset,#7dd295,#3d8451);    background: -moz-linear-gradIEnt(top,#3d8451);    background: -ms-linear-gradIEnt(top,#3d8451);    background: -o-linear-gradIEnt(top,#3d8451);    background: linear-gradIEnt(top,#3d8451);}.control_select:nth-child(3) select:hover {    background: -webkit-linear-gradIEnt(top,#96e8aa,#3d8f55);    background: -moz-linear-gradIEnt(top,#3d8f55);    background: -ms-linear-gradIEnt(top,#3d8f55);    background: -o-linear-gradIEnt(top,#3d8f55);    background: linear-gradIEnt(top,#3d8f55);}.control_select:nth-child(3) select:active {	Box-shadow: 0 2px 5px #335a3d inset,#3b7b4d,#56a96e);    background: -moz-linear-gradIEnt(top,#56a96e);    background: -ms-linear-gradIEnt(top,#56a96e);    background: -o-linear-gradIEnt(top,#56a96e);    background: linear-gradIEnt(top,#56a96e);}.control_select:nth-child(4) label:after {	Box-shadow: 0 1px 2px #461b74 inset,0 1px 0 #ac77e2;	background: -webkit-linear-gradIEnt(top,#522185,#612c99);	background: -moz-linear-gradIEnt(top,#612c99);	background: -ms-linear-gradIEnt(top,#612c99);	background: -o-linear-gradIEnt(top,#612c99);	background: linear-gradIEnt(top,#612c99);}.control_select:nth-child(4) select{	border: 1px solID #703b88;    Box-shadow: 0 1px 0 #b474e6 inset,#a25de3,#7632bd);    background: -moz-linear-gradIEnt(top,#7632bd);    background: -ms-linear-gradIEnt(top,#7632bd);    background: -o-linear-gradIEnt(top,#7632bd);    background: linear-gradIEnt(top,#7632bd);}.control_select:nth-child(4) select:hover {    background: -webkit-linear-gradIEnt(top,#b678f2,#7b38c0);    background: -moz-linear-gradIEnt(top,#7b38c0);    background: -ms-linear-gradIEnt(top,#7b38c0);    background: -o-linear-gradIEnt(top,#7b38c0);    background: linear-gradIEnt(top,#7b38c0);}.control_select:nth-child(4) select:active {	Box-shadow: 0 2px 5px #461b74 inset,#7332b7,#7c3ac1);    background: -moz-linear-gradIEnt(top,#7c3ac1);    background: -ms-linear-gradIEnt(top,#7c3ac1);    background: -o-linear-gradIEnt(top,#7c3ac1);    background: linear-gradIEnt(top,#7c3ac1);}.control_select:nth-child(5) label:after {	Box-shadow: 0 1px 2px #777b12 inset,0 1px 0 #e7ea94;	background: -webkit-linear-gradIEnt(top,#7b7f17,#a6ab2e);	background: -moz-linear-gradIEnt(top,#a6ab2e);	background: -ms-linear-gradIEnt(top,#a6ab2e);	background: -o-linear-gradIEnt(top,#a6ab2e);	background: linear-gradIEnt(top,#a6ab2e);}.control_select:nth-child(5) select{	border: 1px solID #4f5004;    Box-shadow: 0 1px 0 #e7ea94 inset,#d1d744,#959a24);    background: -moz-linear-gradIEnt(top,#959a24);    background: -ms-linear-gradIEnt(top,#959a24);    background: -o-linear-gradIEnt(top,#959a24);    background: linear-gradIEnt(top,#959a24);}.control_select:nth-child(5) select:hover {    background: -webkit-linear-gradIEnt(top,#e5eb65,#aeb333);    background: -moz-linear-gradIEnt(top,#aeb333);    background: -ms-linear-gradIEnt(top,#aeb333);    background: -o-linear-gradIEnt(top,#aeb333);    background: linear-gradIEnt(top,#aeb333);}.control_select:nth-child(5) select:active {	Box-shadow: 0 2px 5px #4f5004 inset,#a3a82a,#aeb333);}.control_select:nth-child(6) label:after {	Box-shadow: 0 1px 2px #741c1c inset,0 1px 0 #e15656;	background: -webkit-linear-gradIEnt(top,#992d2d,#ac3d3d);	background: -moz-linear-gradIEnt(top,#ac3d3d);	background: -ms-linear-gradIEnt(top,#ac3d3d);	background: -o-linear-gradIEnt(top,#ac3d3d);	background: linear-gradIEnt(top,#ac3d3d);}.control_select:nth-child(6) select{	border: 1px solID #652525;    Box-shadow: 0 1px 0 #f8aaaa inset,#d55151,#b03030);    background: -moz-linear-gradIEnt(top,#b03030);    background: -ms-linear-gradIEnt(top,#b03030);    background: -o-linear-gradIEnt(top,#b03030);    background: linear-gradIEnt(top,#b03030);}.control_select:nth-child(6) select:hover {    background: -webkit-linear-gradIEnt(top,#dd5959,#b53333);    background: -moz-linear-gradIEnt(top,#b53333);    background: -ms-linear-gradIEnt(top,#b53333);    background: -o-linear-gradIEnt(top,#b53333);    background: linear-gradIEnt(top,#b53333);}.control_select:nth-child(6) select:active {	Box-shadow: 0 2px 5px #5d1919 inset,#9e2525,#b53333);} 	</style></head><body><div >	<nav ID="top_nav">		<ul >			<li><a href="http://www.w3cplus.com" target="_blank">w3cplus</a></li>			<li><a href="http://www.w3cplus.com/resources/CSS3-tutorial-and-case" target="_blank">CSS3详解教程</a></li>			<li><a href="http://www.w3cplus.com/demos/List.HTML" target="_blank">CSS3实例</a></li>			<li><a href="http://www.w3cplus.com/demo/Tags/242.HTML" target="_blank">藤藤每日一练</a></li>		</ul>		<a ID="read" href="http://www.w3cplus.com/demo/pure-CSS3-select.HTML" target="_blank">查看原文>></a>	</nav></div><div >	<header ID="header">		<hgrounp >			<h1>Pure CSS3 Select </h1>			<h2>作者:藤藤(如有更好建议或疑问请加群:1041263)<h2>		</hgrounp>	</header>	<section ><div >	<form>				<div >			<label>				<select>					<option>Click it please</option>				</select>			</label>		</div>		<div >			<label>				<select>					<option>Click it please</option>				</select>			</label>		</div>		<div >			<label>				<select>					<option>Click it please</option>				</select>			</label>		</div>		<div >			<label>				<select>					<option>Click it please</option>				</select>			</label>		</div>		<div >			<label>				<select>					<option>Click it please</option>				</select>			</label>		</div>		<div >			<label>				<select>					<option>Click it please</option>				</select>			</label>		</div>	</form></div><!-- /control -->	</section>	<section ID="ad_w3cplus">		<div >		<script type="text/JavaScript">/*250*250,创建于2012-10-14-3*/var cpro_ID = "u1089145";</script><script src="http://cpro.baIDustatic.com/cpro/ui/c.Js" type="text/JavaScript"></script>		</div>		<div >		<script type="text/JavaScript">/*250*250,创建于2012-10-14-2*/var cpro_ID = "u1089141";</script><script src="http://cpro.baIDustatic.com/cpro/ui/c.Js" type="text/JavaScript"></script>		</div>		<div >		<script type="text/JavaScript">/*250*250,创建于2012-10-11*/var cpro_ID = "u1086065";</script><script src="http://cpro.baIDustatic.com/cpro/ui/c.Js" type="text/JavaScript"></script>		</div>		<p><script type="text/JavaScript">var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baIDu.com/h.Js%3F177319b798978621f83845b12c86fa29' type='text/JavaScript'%3E%3C/script%3E"));</script></p>	</section></div></body></HTML>

以上是内存溢出(jb51.cc)为你收集整理的全部代码内容,希望文章能够帮你解决所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

总结

以上是内存溢出为你收集整理的Pure CSS3 Select全部内容,希望文章能够帮你解决Pure CSS3 Select所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1096554.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-28
下一篇 2022-05-28

发表评论

登录后才能评论

评论列表(0条)

保存