第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

如何用css實現(xiàn)文字漸變倒影?求教怎么做?

如何用css實現(xiàn)文字漸變倒影?求教怎么做?

kumin 2016-06-29 13:05:31
像這個樣子的能傾斜的話就更好了
查看完整描述

4 回答

?
woshiajuana

TA貢獻211條經(jīng)驗 獲得超152個贊

<!DOCTYPE html>
<html>
<head>
? ?<meta charset="utf-8" />
? ?<title></title>
? ?<meta http-equiv="X-UA-Compatible" content="IE=edge">
? ?<meta name="viewport" content="width=device-width, initial-scale=1">
? ?<link rel="stylesheet" ?type="text/css" href="js/style.css"/>
? ?<style>
? ? ? ?.container{
? ? ? ? ? ?width: 1000px;
? ? ? ? ? ?margin: 100px auto 0;
? ? ? ? ? ?font-size: 32px;
? ? ? ? ? ?font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
? ? ? ?}
? ? ? ?.top{
? ? ? ? ? ?color: aqua;
? ? ? ? ? ?-webkit-box-reflect: below 0 -webkit-linear-gradient(transparent,transparent 30%,rgba(255,255,255,.2));
? ? ? ?}

? ?</style>
</head>
<body>

? ?<div class="container">
? ? ? ?<div class="top"><span>你好呀</span></div>

? ?</div>
</body>
</html>

查看完整回答
2 反對 回復 2016-06-29
?
怪盜飯團

TA貢獻97條經(jīng)驗 獲得超118個贊


HTML部分

<div?class="wrap">??
?????<div?class="image"><img?src="1.jpg"?/></div>??
?????<div?class="down">??
??????????<div?class="reflection"></div>??
??????????<div?class="overlay"></div>??
?????</div>??
</div>



CSS部分

body{background:#000;color:#f00}??
.wrap{position:relative;}??
.image{margin-bottom:3px;}??
.down{position:?relative;}??
.reflection{width:421px;height:180px;background:url(1.jpg)?bottom?center?no-repeat;??
?????-webkit-transform:?scaleY(-1);??
?????-moz-transform:?scaleY(-1);??
?????-ms-transform:?scaleY(-1);??
?????-o-transform:?scaleY(-1);??
?????transform:?scaleY(-1);??
?????opacity:0.5;???????
?????filter:alpha(opacity='50');??
?????}??
.overlay{position:?relative;width:421px;height:180px;bottom:149px;??
?????background-image:?-moz-linear-gradient(center?bottom,?rgb(0,0,0)?20%,?rgba(0,0,0,0)?90%);??
?????background-image:?-o-linear-gradient(rgba(0,0,0,0)?10%,?rgb(0,0,0)?30%);??
?????background-image:?-webkit-gradient(linear,?left?bottom,?left?top,?color-stop(0.20,?rgb(0,0,0)),?color-stop(0.90,?rgba(0,0,0,0)));??
?????filter:?progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColor=0,?EndColorStr=#000000);??
}


查看完整回答
1 反對 回復 2016-07-12
?
qq_為愛逆戰(zhàn)_0

TA貢獻2條經(jīng)驗 獲得超0個贊

/*陰影的水平位置;陰影的垂直方向位置;陰影的模糊程度;陰影的顏色*/

? ? ? ? ? ? text-shadow: 50px 0 50px black;



查看完整回答
反對 回復 2016-06-30
  • 4 回答
  • 2 關注
  • 4921 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號