眼尖的同学应该看到了侧边栏的恋爱计时⏲今天就有一位小伙伴问我要代码,于是就在这里给大家分享一下。购买后可下载完整源码
HTML
<div class="container">
<div class="row">
<div class="col-12 col-md-3 position-relative right d-none d-md-block">
<div class="sidebar-box couple"> <img class="pic" src="https://haiyong.site/img/avatar/jingluo.jpg" alt="博主"><img
class="couple-love" src="https://dyedd.cn/usr/themes/lanstar/assets/img/love.png" alt="爱心"> <img class="pic" src="https://haiyong.site/img/avatar/haiyong.jpg"
alt="另一半">
<div id="our-company" data-start="2016-11-26"></div>
</div>
</div>
</div>
</div>
CSS
.icon {
width: 3em;
height: 3em;
vertical-align: middle;
fill: currentColor;
overflow: hidden;
}
@media screen and (max-width: 576px) {
.nav-search-btn {
right: 0!important;
}
}
.couple {
text-align: center;
}
.info .pic,.couple .pic {
border-radius: 50%;
width: 5rem;
background: #fff;
padding: 2px;
}
.couple-love {
width: 35px;
margin: 20px 0;
animation: heartbeat 1.33s ease-in-out infinite;
}
JS
eval(function (p, a, c, k, e, r) {
e = function (c) {
return c.toString(a)
};
if (!''.replace(/^/, String)) {
while (c--) r[e(c)] = k[c] || e(c);
k = [function (e) {
return r[e]
}];
e = function () {
return '\\w+'
};
c = 1
}
;
while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]);
return p
}('a.f(\' %c 9 1 %c b://d.e/8/1\',\'2:#3;4:#5;6:7 0\',\'2:#5;4:#3;6:7\');', 16, 16, '|lanstar|color|444|background|eee|padding|5px|dyedd|Theme|console|https||github|com|log'.split('|'), 0, {}));
如果你喜欢我们的网站,就分享给你的好友们吧:https://code.haiyong.site/
© 版权声明
THE END