
页面定制CSS代码
.feedbackCon img:hover {
-webkit-transform: rotateZ(360deg);
-moz-transform: rotateZ(360deg);
-ms-transform: rotateZ(360deg);
-o-transform: rotateZ(360deg);
transform: rotateZ(360deg);
}
.feedbackCon img {
border-radius: 40px;
-webkit-transition: all 0.6s ease-out;
-moz-transition: all 0.5s ease-out;
-ms-transition: all 0.5s ease-out;
-o-transition: all 0.5s ease-out;
transition: all 0.5s ease-out;
}
margin: 0 auto;
width: 80%;/*原始65*/
min-width: 980px;/*页面顶部的宽度*/
background-color: rgba(227, 25, 25, 0.1);
padding: 30px;
margin-top: 50px;
margin-bottom: 50px;
box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
}
background: rgb(61, 59, 59);
}
body {
background: rgb(58, 55, 55) url('https://images.cnblogs.com/cnblogs_com/blogs/586816/galleries/2228047/o_221011010908_2057124.jpg') fixed no-repeat;
background-position: 50% 5%;
background-size: cover;
}
height: 100px; /*高度*/
clear: both;
background-color: rgba(245, 245, 245, 0);
}
font-size: 36px;
font-weight: bold;
line-height: 1.8em;/*原始 1.6em*/
margin-top: 10px;/*原始 15px */
color:
}
font-weight: normal;
font-size: 17px;/*原始 16px ;font-size: 1.0rem;*/
line-height: 1.8;
color:
font-weight: bold;
text-align: right;
float: right;
}
background-color: rgba(51, 42, 42, 0.9);
}
color:
font-size: 18px;
font-weight: bold;
}
.blogStats{
color:
}
.postTitle {
border-left: 8px solid rgba(33, 160, 139, 0.68);
margin-left: 10px;
margin-bottom: 10px;
font-size: 20px;
float: right;
width: 100%;
clear: both;
}
.postTitle a:link, .postTitle a:visited, .postTitle a:active {
color:
transition: all 0.4s linear 0s;
}
.postTitle a:hover {
margin-left: 30px;
color:
text-decoration: none;
}
.postCon {
float: right;
line-height: 1.5em;
width: 100%;
clear: both;
padding: 10px 0;
}
.day .postTitle a {
padding-left: 10px;
}
.day {
background: rgba(255, 255, 255, 0.5);
}
/*文章附加信息*/
.postDesc {
background: url(images/posted_time.png) no-repeat 0 1px;
color:
float: left;
width: 100%;
clear: both;
text-align: left;
font-family: "微软雅黑" , "宋体" , "黑体" ,Arial;
font-size: 13px;
padding-right: 20px;/*5px padding-left: 90px;posted 发表时间左边距离*/
margin-top: 20px;
line-height: 1.8;
padding-bottom: 35px;
}
.newsItem, .catListEssay, .catListLink, .catListNoteBook, .catListTag, .catListPostCategory,
.catListPostArchive, .catListImageCategory, .catListArticleArchive, .catListView,
.catListFeedback, .mySearch, .catListComment, .catListBlogRank, .catList, .catListArticleCategory ,
{
background: rgba(255, 255, 255, 0.5);
margin-bottom: 35px;
word-wrap: break-word;
}
.CalTitle{
background: rgba(255, 255, 255, 0);
}
.catListTitle{
background-color: rgba(65, 68, 68, 0.9);
}
background: rgba(255, 255, 255, 0.5);
}
.c_ad_block{
display: none;
}
width: 100%;
height: 200px;
background: rgba(255, 255, 255, 0.5);
}
.CalNextPrev{background: rgba(255, 255, 255, 0);}
.cnblogs_code{
background: rgba(255, 255, 255, 0);
}
.cnblogs_code div{
background: rgba(255, 255, 255, 0);
}
.cnblogs_code_toolbar{
background: rgba(255, 255, 255, 0);
}
.entrylist{
background: rgba(255, 255, 255, 0.5);
}
min-width: 640px;
}
<style>
html {
background: pink;
height: 100%;
}
/*最外层容器样式*/
.wrap {
width: 10px;
height: 10px;
/*改变左右上下,图片方块移动*/
margin: 300px 400px;
position: relative;
}
/*包裹所有容器样式*/
.cube {
width: 600px;
height: 400px;
margin: 0 auto;
transform-style: preserve-3d;
transform: rotateX(-50deg) rotateY(-80deg);
-webkit-animation: rotate 15s infinite;
/*匀速*/
animation-timing-function: linear;
}
@-webkit-keyframes rotate {
from {
transform: rotateX(0deg) rotateY(0deg);
}
to {
transform: rotateX(360deg) rotateY(360deg);
}
}
.cube div {
position: absolute;
width: 300px;
height: 300px;
opacity: 0.8;
transition: all .4s;
}
/*定义所有图片样式*/
.pic {
width: 300px;
height: 300px;
}
.cube .out_front {
transform: rotateY(0deg) translateZ(150px);
}
.cube .out_back {
transform: translateZ(-150px) rotateY(180deg);
}
.cube .out_left {
transform: rotateY(90deg) translateZ(150px);
}
.cube .out_right {
transform: rotateY(-90deg) translateZ(150px);
}
.cube .out_top {
transform: rotateX(90deg) translateZ(150px);
}
.cube .out_bottom {
transform: rotateX(-90deg) translateZ(150px);
}
/*定义小正方体样式*/
.cube span {
display: bloack;
width: 200px;
height: 200px;
position: absolute;
top: 50px;
left: 50px;
}
.cube .in_pic {
width: 200px;
height: 200px;
}
.cube .in_front {
transform: rotateY(0deg) translateZ(100px);
}
.cube .in_back {
transform: translateZ(-100px) rotateY(180deg);
}
.cube .in_left {
transform: rotateY(90deg) translateZ(100px);
}
.cube .in_right {
transform: rotateY(-90deg) translateZ(100px);
}
.cube .in_top {
transform: rotateX(90deg) translateZ(100px);
}
.cube .in_bottom {
transform: rotateX(-90deg) translateZ(100px);
}
/*鼠标移入后样式*/
.cube:hover .out_front {
transform: rotateY(0deg) translateZ(400px);
}
.cube:hover .out_back {
transform: translateZ(-400px) rotateY(180deg);
}
.cube:hover .out_left {
transform: rotateY(90deg) translateZ(400px);
}
.cube:hover .out_right {
transform: rotateY(-90deg) translateZ(400px);
}
.cube:hover .out_top {
transform: rotateX(90deg) translateZ(400px);
}
.cube:hover .out_bottom {
transform: rotateX(-90deg) translateZ(400px);
}
background-color: rgba(255, 255, 255, 0.3);
} // 修改其他边框的颜色
body {
background-color:rgb(245, 245, 245);
} // 修改背景颜色为半透明`
opacity: 0.80;
margin: 0px auto;
width: 70%;
min-width: 950px;
background-color:
padding: 30px;
margin-top: 50px;
margin-bottom: 50px;
box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
}
</style>
<script language="javascript" type="text/javascript">
var a=true
$('.blogStats').html('<svg t="1572571609950" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1124" width="19" height="19"><path class="col" d="M562.88 554.56c0 28.032-22.784 50.816-50.88 50.816s-50.816-22.72-50.816-50.816V113.792c0-28.032 22.784-50.816 50.816-50.816s50.88 22.784 50.88 50.816V554.56z" fill="#ff00f7" p-id="1125"></path><path class="col" d="M86.016 535.36c0-152.064 80.32-285.76 200.512-360.64 23.488-14.976 54.912-7.808 69.76 16 14.848 23.872 7.68 55.104-16.064 69.952-91.584 57.536-152.448 158.656-152.448 274.56C188.16 714.24 332.928 859.072 512 859.456c179.072-0.448 323.776-145.28 324.096-324.224 0-118.656-64-221.952-159.296-278.656-24.192-14.336-32.128-45.568-17.856-69.76 14.4-24.128 45.632-32.064 69.824-17.792 124.928 73.792 209.344 210.176 209.344 366.08 0 235.136-190.656 425.856-425.92 425.856-235.456 0.384-426.176-190.272-426.176-425.6" fill="#ff00f7" p-id="1126"></path></svg><span class="ic">关闭页面特效</span>')
$('.blogStats').click(function(){
if(a){
a=!a
$('.ic').text('');
$('.col').css('fill','#8a8a8a');
}else{
a=!a
$('.ic').text('关闭页面特效');
$('.col').css('fill','#ff00f7');
}
$('canvas').toggle();
});
function RefreshPage() {
return location.reload(1),
1
}
</script>
页首HTML代码
<div class="wrap">
<!-- /*包裹所有元素的容器*/-->
<div class="cube">
<!--前面图片 -->
<div class="out_front">
<img src="https://img2020.cnblogs.com/blog/1973699/202201/1973699-20220113102502367-74769322.jpg" class="pic">
</div>
<!--后面图片 -->
<div class="out_back">
<img src="https://img2020.cnblogs.com/blog/1973699/202201/1973699-20220113102502367-74769322.jpg" class="pic">
</div>
<!--左图片 -->
<div class="out_left">
<img src="https://img2020.cnblogs.com/blog/1973699/202201/1973699-20220113102502367-74769322.jpg" class="pic">
</div>
<div class="out_right">
<img src="https://img2020.cnblogs.com/blog/1973699/202201/1973699-20220113102502367-74769322.jpg" class="pic">
</div>
<div class="out_top">
<img src="https://img2020.cnblogs.com/blog/1973699/202201/1973699-20220113102502367-74769322.jpg" class="pic">
</div>
<div class="out_bottom">
<img src="https://img2020.cnblogs.com/blog/1973699/202201/1973699-20220113102502367-74769322.jpg" class="pic">
</div>
<!--小正方体 -->
<span class="in_front">
<img src="https://img2020.cnblogs.com/blog/1973699/202108/1973699-20210827154247351-202812358.jpg" class="in_pic" />
</span>
<span class="in_back">
<img src="https://img2020.cnblogs.com/blog/1973699/202108/1973699-20210827154247351-202812358.jpg" class="in_pic" />
</span>
<span class="in_left">
<img src="https://img2020.cnblogs.com/blog/1973699/202108/1973699-20210827154257226-1132254042.jpg" class="in_pic" />
</span>
<span class="in_right">
<img src="https://img2020.cnblogs.com/blog/1973699/202108/1973699-20210827154257226-1132254042.jpg" class="in_pic" />
</span>
<span class="in_top">
<img src="https://img2020.cnblogs.com/blog/1973699/202108/1973699-20210827154304308-960959160.jpg" class="in_pic" />
</span>
<span class="in_bottom">
<img src="https://img2020.cnblogs.com/blog/1973699/202108/1973699-20210827154304308-960959160.jpg" class="in_pic" />
</span>
</div>
</div>
页脚HTML代码
<script type="text/javascript" src="https://blog-static.cnblogs.com/files/blogs/586816/Comments.js?t=1665395598"></script>
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!