1000字范文,内容丰富有趣,学习的好帮手!
1000字范文 > CSS- 横向和纵向时间轴【HTML】

CSS- 横向和纵向时间轴【HTML】

时间:2023-07-16 23:10:49

相关推荐

CSS- 横向和纵向时间轴【HTML】

web前端|html教程

CSS- 横向和纵向时间轴

web前端-html教程

时间轴在展示公司发展信息,服务流程中用的比较多,常见的注册登录有的是通过引导,一步一步的来完成,上面会通过时间轴告诉用户当前在哪一步,公司在关于我们或者发展流程的时候也特别喜欢用时间轴来展示,简单的实现了一下横向和纵向时间轴,可以简单的看下一下实现的效果:

防伪源码 站长网,ubuntu代码编译卡住,豆瓣python爬虫代码,php 用 替换,seo运营要求lzw

Html代码:

源码世界,用vscode作简单的游戏,ubuntu sudo不认,tomcat连接过程,爬虫脚本pdf,php exec git,番禺seo网络营销策划,网站滚动文字lzw

原文地址:/xiaofeixiang/

jpeg源码下载,ubuntu安装后要,爬虫学习开发计划,subpos php,社群营销SEOlzw

成立 合作 发展 共赢

1keso 2FlyElephant 3博客园 4创业

CSS样式:

/*横向时间轴*/ .time-horizontal { list-style-type: none; border-top: 1px solid #707070; max-width: 800px; padding: 0px; margin: 0px; } .time-horizontal li { float: left; position: relative; text-align: center; width: 25%; padding-top: 10px; } .time-horizontal li b:before { content: \; position: absolute; top: -10px; left: 47%; width: 12px; height: 12px; border: 2px solid #4c4c4c; border-radius: 8px; background: #4c4c4c; } /*纵向时间轴*/ .time-vertical { list-style-type: none; border-left: 1px solid #707070; padding: 0px; height: 400px; } .time-vertical li { height: 100px; position: relative; } .time-vertical li a { display: inline-block; margin-left: 20px; margin-top: 15px; text-decoration: none; color: #000; } .time-vertical li b:before { content: \; position: absolute; top: 15px; left: -12px; width: 18px; height: 18px; border: 2px solid #98FB98; border-radius: 10px; background: #98FB98; } .time-vertical li span { position: absolute; color: #fff; top: 18px; left: -6px; }

关于纵向时间轴,当然我们也会遇到将线放在中间的情况,大同小异,没有差别~

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。