国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發(fā) > CSS > 正文

css3 iphone玻璃透明氣泡完美實現(xiàn)

2024-07-11 08:28:57
字體:
來源:轉載
供稿:網友
效果圖如下:

源碼如下:

復制代碼
代碼如下:
<!doctype html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="content-type" />
<link rel="stylesheet" href="bubble.css" />
<link rel="stylesheet" href="css.css" />
</head>
<body>
<div id="wraper1">
<div style="height:20px;" ></div>
<div style="text-align: left;padding-left:20px">
<div class="bubble">
<div class="content">
廣發(fā)銀行珠海分行原行長:公款花銷是為了銀行營銷自2002年至2010年,廣發(fā)銀行珠海分行黨委書記、行長屈建國貪污受賄共3200余萬元,最終被判以死刑,緩期兩年執(zhí)行。
</div>
</div>
</div>
</div>
<div id="wraper2">
<div style="text-align: right;padding-right:20px;">
<div class="bubble">
<div class="content"> 經法院審理查明,從2010年12月至2011年2月,屈建國以一些活動的名義,制作簽報并提取現(xiàn)金人民幣450萬元。在發(fā)放上述獎金過程中,采用簽寫簽收數(shù)額遠遠超過實發(fā)數(shù)額的“陰陽條”形式,實際發(fā)放人民幣303萬元,將其中的人民幣147萬元截留并據(jù)為己有。
</div>
</div>
</div>
</div>
<div id="wraper3">
<div style="text-align: left;padding-left:20px">
<div class="bubble">
<div class="content">
珠海煙草局原局長:貪賄500多萬 為情人買車買房
</div>
</div>
</div>
</div>
<div id="wraper4">
<div style="text-align: right;padding-right:20px;">
<div class="bubble">
<div class="content">
同時,屈建國還不斷找其他機會侵吞公款用于個人及家庭開銷。他攻讀某名牌大學EM BA花費人民幣20萬;為自己和家人購買奢侈品、享受高檔消費報銷,購買“15年茅臺”、“30年茅臺”等高檔酒用掉人民幣41.88萬元,購買四只“勞力士”和四只“帝舵”手表共花去人民幣33.98萬元,在某國際會所辦理家庭會籍揮霍人民幣7.89萬元,為女兒屈某歸還信用卡消費賬款共計人民幣6.998萬元;等等。
</div>
</div>
</div>
</div>
</body>
</html>

bubble.css:

復制代碼
代碼如下:
#wraper1,
#wraper2,
#wraper3,
#wraper4 {
color: #000;
position: relative;
width: 100%;
background: #dbe2ed;
}
.bubble {
position: relative;
display: inline-block;
min-width: 30px;
max-width: 300px;
word-break: break-all;
word-wrap: break-word;
min-height: 22px;
background: #d2d2d2;
border-radius: 15px;
margin-bottom: 20px;
padding: 6px 8px;
-webkit-box-shadow: 0px 1px 2px #000, inset 0px 4px 4px rgba(0,0,0,.3), inset 0px -4px 4px rgba(255,255,255,.5);
-moz-shadow: 0px 1px 2px #000, inset 0px 4px 4px rgba(0,0,0,.3), inset 0px -4px 4px rgba(255,255,255,.5);
box-shadow: 0px 1px 2px #000, inset 0px 4px 4px rgba(0,0,0,.3), inset 0px -4px 4px rgba(255,255,255,.5);
}
.bubble:before {
content: '';
display: block;
font-size: 0;
width: 0;
height: 0;
border-width: 6px;
position: absolute;
bottom: -12px;
left: 12px;
border-color: #4a4c50 transparent transparent #4a4c50;
border-style: solid dashed dashed solid;
}
.bubble:after {
content: '';
display: block;
font-size: 0;
position: absolute;
bottom: -9px;
left: 13px;
width: 0;
height: 0;
border-width: 5px;
border-color: #e8e8e8 transparent transparent #e8e8e8;
border-style: solid dashed dashed solid;
}
.bubble .content {
position: relative;
padding: 0 4px;
}
.bubble .content:before {
content: '';
position: absolute;
margin: auto;
top: -5px;
left: 0;
width: 100%;
height: 12px;
background-image: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.2) 90%, rgba(255,255,255,0) 90% );
background-image: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.2) 90%, rgba(255,255,255,0) 90% );
border-radius: 10px
}
/**
* 綠色氣泡
*/
#wraper2 .bubble {
background: #b7da2b;
}
#wraper2 .bubble:before {
left: auto;
right: 12px;
border-color: #4a4c50 #4a4c50 transparent transparent;
border-style: solid solid dashed dashed;
}
#wraper2 .bubble:after {
left: auto;
right: 13px;
border-color: #daec93 #daec93 transparent transparent;
border-style: solid solid dashed dashed;
}
/**
* 橙色氣泡
*/
#wraper3 .bubble {
background: #f6d031;
}
#wraper3 .bubble:after {
border-color: #fae796 transparent transparent #fae796;
border-style: solid dashed dashed solid;
}
/**
* 黃色氣泡
*/
#wraper4 .bubble {
background: #feed24;
}
#wraper4 .bubble:before {
left: auto;
right: 12px;
border-color: #4a4c50 #4a4c50 transparent transparent;
border-style: solid solid dashed dashed;
}
#wraper4 .bubble:after {
left: auto;
right: 13px;
border-color: #fef690 #fef690 transparent transparent;
border-style: solid solid dashed dashed;
}
發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 兴安盟| 柘荣县| 西和县| 西华县| 改则县| 孙吴县| 精河县| 永靖县| 临江市| 灵寿县| 荣昌县| 鸡西市| 永州市| 柏乡县| 沙坪坝区| 鹤峰县| 梧州市| 涿州市| 新安县| 敦煌市| 元氏县| 新营市| 芒康县| 防城港市| 林周县| 金沙县| 谷城县| 高邮市| 三原县| 闵行区| 易门县| 南平市| 南涧| 原阳县| 邹平县| 南康市| 东丰县| 石景山区| 孟村| 集安市| 禹州市|