【CSS】CSS练习,改自己博客园
2021/8/13 6:07:37
本文主要是介绍【CSS】CSS练习,改自己博客园,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
:root{ } *{ user-select: none; } body{ background-image: linear-gradient( 103.3deg, rgba(252,225,208,1) 30%, rgba(255,173,214,1) 55.7%, rgba(162,186,245,1) 81.8% ); } #navigator{ } #navigator #navList{ list-style: none; display: flex; justify-content: flex-start; flex-direction: row; } #navigator #navList li{ transition: .4s; border-radius: 8px; width: 80px; height: 40px; margin-left:5px; display: flex; justify-content: center; align-items: center; font-weight: 700; cursor: pointer; box-shadow: inset 2px 2px 4px rgba(0,0,0,.1), inset -2px -2px 4px rgba(255,255,255,.1); } #navigator #navList li:hover{ transition: .4s; box-shadow: inset 2px 2px 4px rgba(255,255,255,.1), inset -2px -2px 4px rgba(0,0,0,.1), 2px 2px 4px rgba(0,0,0,.1); } #navigator #navList li:active{ transition: .4s; box-shadow: none; } #navigator #navList li a{ color: #666; text-decoration: none; } #navigator #navList li:hover{ transition: .4s; } .blogStats{ font-size: small; display: flex; justify-content: flex-end; padding-right: 60px; } .day{ margin: 10px 40px; border-radius: 3px; } .day .postTitle,.day .postCon,.day .postDesc{ margin-left: 20px; margin-right: 20px; padding: 0 40px; border-left: solid 1px #999; border-right: solid 1px #999; } .day .dayTitle{ margin-top: 20px; font-weight: 700;; padding:10px; } .day .postTitle{ padding-top: 20px; border-top: solid 1px #999; } .day .postCon{ color:#666; font-size: small; display: flex; } .day .postCon .c_b_p_desc{ width: 100%; display: flex; flex-direction: column; justify-content: flex-end; } .day .postCon .c_b_p_desc a{ text-align: end; } .day .postSeparator{ height:10px; } .day .postDesc{ color:#666; padding-top: 5px; border-bottom: solid 1px #999; padding-bottom: 20px; font-size: small; display: flex; display: flex; justify-content: flex-end; } .day .postDesc *{ padding-left: 10px; }
这篇关于【CSS】CSS练习,改自己博客园的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-03-06css样式背景图怎么分开(css背景图片样式)-icode9专业技术文章分享
- 2024-03-06css线性样式(css中划线样式)-icode9专业技术文章分享
- 2024-03-06jq点击添加css样式(jq设置css样式)-icode9专业技术文章分享
- 2024-03-06流程样式css(css实现流程图)-icode9专业技术文章分享
- 2024-03-06css怎么调搜索键样式(css搜索框怎么调大小)-icode9专业技术文章分享
- 2024-03-06css层叠样式(Css层叠样式介绍)-icode9专业技术文章分享
- 2024-03-06css样式表有何特点(css样式表的使用方法有几种)-icode9专业技术文章分享
- 2024-03-06css的列表样式(css列表样式属性包括)-icode9专业技术文章分享
- 2024-03-06css3手机端样式(手机端css怎么写)-icode9专业技术文章分享
- 2024-02-21蝉知CSS样式修改(改变css样式)-icode9专业技术文章分享