.vertical-center {
position: absolute;
top: 50%;
transform: translateY(-50%);
}
.horizontal-center {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.img-center {
display: table-cell;
text-align: center;
vertical-align: middle;
}
.flex-center {
display: flex;
align-items: center;
justify-content: center;
}
.space-between {
justify-content: space-between;
}
.space-around {
justify-content: space-around;
}
/*長文本自動換行*/
.pre {
white-space: pre-line;
word-wrap: break-word;
}
/*透明度*/
.transparent {
filter: alpha(opacity=50);
-khtml-opacity: 0.5;
-moz-opacity: 0.5;
opacity: 0.5;
}
/* margin zone*/
.mar-top-10 {
margin-top: 10px;
}
.mar-top-20 {
margin-top: 20px;
}
.mar-top-30 {
margin-top: 30px;
}
.mar-top-40 {
margin-top: 40px;
}
.mar-top-50 {
margin-top: 50px;
}
.mar-bottom-10 {
margin-bottom: 10px;
}
.mar-bottom-20 {
margin-bottom: 20px;
}
.mar-bottom-30 {
margin-bottom: 30px;
}
.mar-bottom-40 {
margin-bottom: 40px;
}
.mar-bottom-50 {
margin-bottom: 50px;
}
.mar-left-10 {
margin-left: 10px;
}
.mar-left-20 {
margin-left: 20px;
}
.mar-left-30 {
margin-left: 30px;
}
.mar-left-40 {
margin-left: 40px;
}
.mar-left-50 {
margin-left: 50px;
}
.mar-right-10 {
margin-right: 10px;
}
.mar-right-20 {
margin-right: 20px;
}
.mar-right-30 {
margin-right: 30px;
}
.mar-right-40 {
margin-right: 40px;
}
.mar-right-50 {
margin-right: 50px;
}
common.css
?著作權歸作者所有,轉載或內(nèi)容合作請聯(lián)系作者
- 文/潘曉璐 我一進店門鲫竞,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人逼蒙,你說我怎么就攤上這事从绘。” “怎么了?”我有些...
- 文/不壞的土叔 我叫張陵僵井,是天一觀的道長赁还。 經(jīng)常有香客問我,道長驹沿,這世上最難降的妖魔是什么? 我笑而不...
- 正文 為了忘掉前任蹈胡,我火速辦了婚禮渊季,結果婚禮上,老公的妹妹穿的比我還像新娘罚渐。我一直安慰自己却汉,他們只是感情好,可當我...
- 文/花漫 我一把揭開白布荷并。 她就那樣靜靜地躺著合砂,像睡著了一般。 火紅的嫁衣襯著肌膚如雪源织。 梳的紋絲不亂的頭發(fā)上翩伪,一...
- 文/蒼蘭香墨 我猛地睜開眼逻炊,長吁一口氣:“原來是場噩夢啊……” “哼互亮!你這毒婦竟也來了?” 一聲冷哼從身側響起余素,我...
- 正文 年R本政府宣布僧叉,位于F島的核電站,受9級特大地震影響棺榔,放射性物質(zhì)發(fā)生泄漏瓶堕。R本人自食惡果不足惜,卻給世界環(huán)境...
- 文/蒙蒙 一症歇、第九天 我趴在偏房一處隱蔽的房頂上張望郎笆。 院中可真熱鬧,春花似錦忘晤、人聲如沸宛蚓。這莊子的主人今日做“春日...
- 文/蒼蘭香墨 我抬頭看了看天上的太陽凄吏。三九已至,卻和暖如春闰蛔,著一層夾襖步出監(jiān)牢的瞬間痕钢,已是汗流浹背。 一陣腳步聲響...