html中水平时间轴,CSS3 水平时间轴/步骤引导环节

CSS

语言:

CSSSCSS

确定

@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);

html {

box-sizing: border-box;

}

*,

*:before,

*:after {

box-sizing: inherit;

}

body {

font-family: lato;

}

@media screen and (min-width: 500px) {

.steps-section {

max-width: 700px;

margin: 50px 50px 100px;

border: 1px dashed;

}

}

@media screen and (max-width: 500px) {

.steps-section {

margin-bottom: 40px;

}

}

.section-header,

.steps-name {

color: #333;

font-weight: 600;

font-size: 14px;

}

@media screen and (max-width: 500px) {

.steps-timeline {

border-left: 4px solid #e74682;

margin-left: 25px;

}

}

@media screen and (min-width: 500px) {

.steps-timeline {

border-top: 4px solid #e74682;

padding-top: 20px;

margin-top: 40px;

margin-left: 20px;

margin-right: 20px;

}

}

.steps-timeline:after {

content: "";

display: table;

clear: both;

}

#retail .steps-timeline {

border-color: #ccc;

}

#justfab .steps-one,

#justfab .steps-two,

#justfab .steps-three {

outline: 1px dashed rgba(0, 128, 0, 0);

}

@media screen and (max-width: 500px) {

#justfab .steps-one,

#justfab .steps-two,

#justfab .steps-three {

margin-left: -25px;

}

}

@media screen and (min-width: 500px) {

#justfab .steps-one,

#justfab .steps-two,

#justfab .steps-three {

float: left;

width: 33%;

margin-top: -50px;

}

}

#retail .steps-one,

#retail .steps-two,

#retail .steps-two-one,

#retail .steps-two-two,

#retail .steps-three {

outline: 1px dashed rgba(0, 128, 0, 0);

}

@media screen and (max-width: 500px) {

#retail .steps-one,

#retail .steps-two,

#retail .steps-two-one,

#retail .steps-two-two,

#retail .steps-three {

margin-left: -25px;

}

}

@media screen and (min-width: 500px) {

#retail .steps-one,

#retail .steps-two,

#retail .steps-two-one,

#retail .steps-two-two,

#retail .steps-three {

float: left;

width: 20%;

margin-top: -50px;

}

}

@media screen and (max-width: 500px) {

#justfab .steps-one,

#justfab .steps-two {

padding-bottom: 40px;

}

}

@media screen and (min-width: 500px) {

#justfab .steps-one {

margin-left: -16.65%;

margin-right: 16.65%;

}

}

@media screen and (min-width: 500px) {

#justfab .steps-two {

margin-left: -24.45%;

margin-right: 24.45%;

}

}

@media screen and (max-width: 500px) {

#justfab .steps-three {

margin-bottom: -100%;

}

}

@media screen and (min-width: 500px) {

#justfab .steps-three {

margin-left: 16.65%;

margin-right: -16.65%;

}

}

@media screen and (max-width: 500px) {

#retail .steps-one,

#retail .steps-two,

#retail .steps-two-one,

#retail .steps-two-two {

padding-bottom: 50px;

}

}

@media screen and (min-width: 500px) {

#retail .steps-one {

margin-left: -9.65%;

}

}

@media screen and (min-width: 500px) {

#retail .steps-two {

margin-left: 4.65%;

margin-right: 4.65%;

}

}

@media screen and (min-width: 500px) {

#retail .steps-two-one {

margin-right: 4.65%;

}

}

@media screen and (max-width: 500px) {

#retail .steps-three {

margin-bottom: -100%;

}

}

@media screen and (min-width: 500px) {

#retail .steps-three {

margin-left: 4.65%;

margin-right: -18.65%;

}

}

.circle {

display: block;

margin: 15px auto 10px;

width: 25px;

height: 25px;

border: 4px solid #e74582;

border-radius: 50%;

background: #fff;

}

@media screen and (max-width: 500px) {

.circle {

float: left;

margin-right: 20px;

margin-left: 10px;

}

}

#retail .circle {

border-color: #ccc;

}

.steps-name,

.steps-description {

margin: 0;

}

@media screen and (min-width: 500px) {

.steps-name {

text-align: center;

}

}

.steps-description {

overflow: hidden;

color: #999;

font-size: 13px;

}

@media screen and (min-width: 500px) {

.steps-description {

text-align: center;

}

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值