漂亮的優(yōu)惠劵css3樣式大集合

平臺優(yōu)惠劵

@charset "utf-8";

/* reset css start */

html {margin: 0; height: 100%; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;font-size: 62.5%; }

body { width: 100%; max-width: 640px;min-width:320px; height: 100%; margin: 0 auto; padding: 0; font-family: "Microsoft Yahei"; font-size: 1.2rem; color: #a1a1a1;

background: #f5f5f5;position: relative; overflow-x: hidden; -webkit-overflow-scrolling: touch; }

a { text-decoration: none; color: #a1a1a1; background: transparent; -webkit-tap-highlight-color: transparent; }

a:active { color: #8c88ff; border: none; outline: none; }

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }

audio, canvas, progress, video { display: inline-block; vertical-align: baseline; }

audio:not([controls]) { display: none; height: 0; }

[hidden], template { display: none; }

input {border: 1px solid #999; line-height: normal; vertical-align: middle; outline: 0; border-radius: 0; background: #FFFFFF; -webkit-appearance: none; }

input[type="radio"], input[type="checkbox"] { padding: 0; ?-webkit-tap-highlight-color:rgba(255,255,255,0);}

input[type="number"] { -moz-appearance: textfield; }

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { margin: 0; height: auto; -webkit-appearance: none !important; }

input[type="search"] { -webkit-appearance: textfield; }

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

input::-moz-placeholder, textarea::-moz-placeholder {font-size: 1.4rem; color: #c1c1c1; }

input:-ms-input-placeholder, textarea:-ms-input-placeholder {font-size: 1.4rem; ?color: #c1c1c1; }

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {font-size: 1.4rem; ?color: #c1c1c1; }

button, input, optgroup, select, textarea { margin: 0; font: inherit; color: inherit; -webkit-tap-highlight-color:rgba(255,255,255,0);}

button {border: none; overflow: visible; }

button, select { text-transform: none; }

button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: none; cursor: pointer; }

button[disabled], html input[disabled] { cursor: default; }

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

textarea { resize: vertical; overflow: auto;}

textarea:focus { outline: none; }

h1, h2, h3, h4, h5, h6, p, figure, form, blockquote,ul, ol, li, dl, dd, td, th { margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6{ font: inherit;}

ul, ol { list-style: none; }

em,i{font-style:normal;}

table { border-collapse: collapse; border-spacing: 0; }

label{ -webkit-tap-highlight-color:rgba(255,255,255,0);}

img { max-width: 100%;height: auto; border: 0; vertical-align: middle; }

*{ -webkit-box-sizing: border-box; box-sizing: border-box;}

.coupon-wrapper{width:100%; height:auto; padding:5%;}

.coupon-wrapper .coupon-item{width: 100%;}

.coupon-wrapper h3{ height: 3rem; line-height: 1.8rem;font-size: 1.4rem; color:#454545; padding: 2% 0;}

.coupon-item .nick{padding:.66% 0; color: #fff;}

.coupon-item .coupon-money {width: 100%; display: -webkit-box; display: -webkit-flex; display: flex; font-size: 1.2rem; align-items: center;}

.coupon-item .coupon-money em{font-size: 3.8rem;}

.coupon-item .coupon-money .lay:last-child{flex: 1; padding:0 3%;line-height: 1.66rem;}

.style-one, .style-two, .style-three, .style-four, .style-five, .style-six, .style-seven{width: 100%; height:8rem; position: relative;margin: 5% 0;

display: -webkit-box; display: -webkit-flex; display: flex; align-items: center; justify-content: center;

background-color: #fff; border:1px solid #E5004F;}

.style-one:after,.style-three:after{content:""; width: 1.2rem; position: absolute; top: 0; bottom: 0; right: 23.9%; display: block; z-index: 9;

background-color: #fff; background-position: 100% 35%; background-size: 2rem .66rem;

background-image: linear-gradient(-45deg, #e5004f 25%, transparent 25%, transparent), linear-gradient(-135deg, #e5004f 25%, transparent 25%, transparent),

linear-gradient(-45deg, transparent 75%, #e5004f 75%), linear-gradient(-135deg, transparent 75%, #e5004f 75%);}

.style-one .info-box, .style-two .info-box, .style-three .info-box, .style-four .info-box, .style-five .info-box , .style-six .info-box, .style-seven .info-box{

-webkit-box: 1; -webkit-flex: 1; flex: 1; padding: 0 3% 0 10%; position: relative;}

.style-one .info-box:before, .style-one .info-box:after,

.style-one .get-btn:before, ?.style-one .get-btn:after,

.style-two .info-box:before, .style-two .info-box:after,

.style-two .get-btn:before, ?.style-two .get-btn:after{

content:""; width: 1.4rem; height: 1.8rem; position: absolute; z-index: 9;

border-right: 1px solid #E5004F; ?-webkit-border-radius: 50%; border-radius: 50%; background-color: #f5f5f5;

}

.style-one .info-box:before, .style-two .info-box:before{ top:-1.5rem; left:-.5rem; -webkit-transform: rotate(36deg); transform: rotate(36deg);}

.style-one .info-box:after, .style-two .info-box:after{ bottom:-1.5rem; left:-.5rem; -webkit-transform: rotate(-36deg); transform: rotate(-36deg);}

.style-one .get-btn:before, .style-two .get-btn:before{ top:-.5rem; right:-.35rem; -webkit-transform: rotate(136deg); transform: rotate(136deg);}

.style-one .get-btn:after, .style-two .get-btn:after{bottom:-.5rem; right:-.35rem; -webkit-transform: rotate(-136deg); transform: rotate(-136deg);}

.style-one .get-btn, .style-two .get-btn, .style-three .get-btn, .style-four .get-btn, .style-six .get-btn, .style-seven .get-btn{

width: 24%; height: 8rem; text-align: center; color: #fff; font-size: 1.6rem; background-color: #E5004F; position: relative;}

.style-one .get-btn span{width: 1.6rem; padding: .66rem 2rem .66rem 0; display: inherit; margin:0 auto; word-break: break-all;}

.style-one .nick, .style-four .nick{color: #c1c1c1;}

.style-one .of, .style-one .lay .tit,

.style-four .of, .style-four .lay .tit,

.style-six .nick{color: #E5004F;}

.style-one .lay .demand, .style-four .lay .demand{color:#454545;}

.style-two{ background-color: #ED008C; border:1px solid #ED008C; color: #fff;}

.style-two:before, .style-two:after{

content:""; height: .5rem; position: absolute; display: block; z-index: 9;

background-image: linear-gradient(135deg,transparent, transparent 45%, #ED008C, #ED008C 55%, transparent 100%),

linear-gradient(45deg, transparent, #ED008C 45%, #ED008C, transparent 55%, transparent 100%);

background-size: 1rem 1rem;background-repeat: repeat-x, repeat-x;

}



更多資料每日分享加群 ? ? ?120342833 ? ? ?驗證回答 ? ? ?ZZ

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末钉寝,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子放航,更是在濱河造成了極大的恐慌,老刑警劉巖蓝撇,帶你破解...
    沈念sama閱讀 217,277評論 6 503
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件疆股,死亡現(xiàn)場離奇詭異,居然都是意外死亡贫贝,警方通過查閱死者的電腦和手機介粘,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 92,689評論 3 393
  • 文/潘曉璐 我一進店門殖氏,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人姻采,你說我怎么就攤上這事雅采。” “怎么了慨亲?”我有些...
    開封第一講書人閱讀 163,624評論 0 353
  • 文/不壞的土叔 我叫張陵婚瓜,是天一觀的道長。 經(jīng)常有香客問我巡雨,道長闰渔,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,356評論 1 293
  • 正文 為了忘掉前任铐望,我火速辦了婚禮冈涧,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘正蛙。我一直安慰自己督弓,他們只是感情好,可當我...
    茶點故事閱讀 67,402評論 6 392
  • 文/花漫 我一把揭開白布乒验。 她就那樣靜靜地躺著愚隧,像睡著了一般。 火紅的嫁衣襯著肌膚如雪锻全。 梳的紋絲不亂的頭發(fā)上狂塘,一...
    開封第一講書人閱讀 51,292評論 1 301
  • 那天录煤,我揣著相機與錄音,去河邊找鬼荞胡。 笑死妈踊,一個胖子當著我的面吹牛,可吹牛的內(nèi)容都是我干的泪漂。 我是一名探鬼主播廊营,決...
    沈念sama閱讀 40,135評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼萝勤!你這毒婦竟也來了露筒?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 38,992評論 0 275
  • 序言:老撾萬榮一對情侶失蹤敌卓,失蹤者是張志新(化名)和其女友劉穎慎式,沒想到半個月后,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體假哎,經(jīng)...
    沈念sama閱讀 45,429評論 1 314
  • 正文 獨居荒郊野嶺守林人離奇死亡瞬捕,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,636評論 3 334
  • 正文 我和宋清朗相戀三年鞍历,在試婚紗的時候發(fā)現(xiàn)自己被綠了舵抹。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點故事閱讀 39,785評論 1 348
  • 序言:一個原本活蹦亂跳的男人離奇死亡劣砍,死狀恐怖惧蛹,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情刑枝,我是刑警寧澤香嗓,帶...
    沈念sama閱讀 35,492評論 5 345
  • 正文 年R本政府宣布,位于F島的核電站装畅,受9級特大地震影響靠娱,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜掠兄,卻給世界環(huán)境...
    茶點故事閱讀 41,092評論 3 328
  • 文/蒙蒙 一像云、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧蚂夕,春花似錦迅诬、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,723評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至等脂,卻和暖如春俏蛮,著一層夾襖步出監(jiān)牢的瞬間撑蚌,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 32,858評論 1 269
  • 我被黑心中介騙來泰國打工搏屑, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留锨并,地道東北人。 一個月前我還...
    沈念sama閱讀 47,891評論 2 370
  • 正文 我出身青樓睬棚,卻偏偏與公主長得像第煮,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子抑党,可洞房花燭夜當晚...
    茶點故事閱讀 44,713評論 2 354

推薦閱讀更多精彩內(nèi)容

  • 1包警、垂直對齊 如果你用CSS,則你會有困惑:我該怎么垂直對齊容器中的元素底靠?現(xiàn)在害晦,利用CSS3的Transform,...
    kiddings閱讀 3,164評論 0 11
  • 各種純css圖標 CSS3可以實現(xiàn)很多漂亮的圖形暑中,我收集了32種圖形壹瘟,在下面列出。直接用CSS3畫出這些圖形鳄逾,要比...
    劍殘閱讀 9,541評論 0 8
  • 關(guān)于css常見問題稻轨,大多是移動端的。 簡單的排版規(guī)則:條目與條目之間空兩行雕凹,每條內(nèi)容部分分段空一行殴俱。標點符號全部用...
    蘇水兒閱讀 5,017評論 0 9
  • 你終于要來見我 我的心悸動不已 無法抑制 我們一年一度的約會 正如牛郎織女的七月七日鵲橋相會 他們翹首以盼 那一日...
    滋小然閱讀 199評論 2 6
  • 我想用一句話形容我們之間的關(guān)系,“你不知道我喜歡你”枚抵。 我不知道什么時候開始注意你线欲,也不知道什么時...
    游惠雯閱讀 250評論 0 0