首页/style.css:修订间差异
创建页面,内容为“.mainpage-container { display:flex; align-items:stretch; .mainpage-box { padding:10px; flex:1; margin:10px; background-color:#FFF; box-shadow:5px 5px 5px 0 #AAA; } h2 { font-size: 2em; line-height: 1.3; display: inline; position: relative; margin: 0.5em 0; background-color: rgba(128, 128, 128, 0.3); background-repeat: no-repeat; background-position: 0 90%; background-size: 100% 0.45em; box-shadow: 2px 0 0 rgba(128, 128…” |
小无编辑摘要 |
||
(未显示同一用户的1个中间版本) | |||
第1行: | 第1行: | ||
.mainpage-container { | .mainpage-container { | ||
display:flex; | |||
align-items:stretch; | |||
} | |||
.mainpage-box { | .mainpage-box { | ||
padding:10px; | |||
flex:1; | |||
margin:10px; | |||
background-color:#FFF; | |||
box-shadow:5px 5px 5px 0 #AAA; | |||
} | } | ||
h2 { | .h2 { | ||
font-size: 2em; | font-size: 2em; | ||
line-height: 1.3; | line-height: 1.3; | ||
第32行: | 第33行: | ||
} | } | ||
h2:hover { | .h2:hover { | ||
background-color: rgba(128, 128, 128, 0.4); | background-color: rgba(128, 128, 128, 0.4); | ||
box-shadow: | box-shadow: |