【小记】-005--纯CSS实现的小玩意儿

效果图奉上

代码奉上

<!DOCTYPE html>
<html lang="zh"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title></title><style type="text/css">* {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}html {color: #fff;font-family: 'Source Sans Pro', sans-serif;background-color: #59488b;}h1,h2 {color: rgba(255, 255, 255, 0.5);font-size: 40px;font-weight: 200;text-align: center;margin: 40px 0 0 0;}h2 {font-size: 18px;margin: 0;padding: 0;margin: 10px 0;}h1 span {font-size: 30px;}a {text-decoration: none;}a:hover {transition: all linear 0.2s;}::-moz-selection {background: #b3d4fc;text-shadow: none;}::selection {background: #b3d4fc;text-shadow: none;}.wrapper {width: 700px;margin: 0 auto;}.row {text-align: center;padding: 50px 0;}.span,.span_large {float: left;width: 100px;background-color: rgba(0, 0, 0, 0.02);height: 100px;vertical-align: middle;border-radius: 1px;margin-right: 100px;}.span:last-child {margin-right: 0px;}/* Timer*/.timer {width: 24px;height: 24px;background-color: transparent;box-shadow: inset 0px 0px 0px 2px #fff;border-radius: 50%;position: relative;margin: 38px auto;/* Not necessary- its only for layouting*/}.timer:after,.timer:before {position: absolute;content: "";background-color: #fff;}.timer:after {width: 10px;height: 2px;top: 11px;left: 11px;-webkit-transform-origin: 1px 1px;-moz-transform-origin: 1px 1px;transform-origin: 1px 1px;-webkit-animation: minhand 2s linear infinite;-moz-animation: minhand 2s linear infinite;animation: minhand 2s linear infinite;}.timer:before {width: 8px;height: 2px;top: 11px;left: 11px;-webkit-transform-origin: 1px 1px;-moz-transform-origin: 1px 1px;transform-origin: 1px 1px;-webkit-animation: hrhand 8s linear infinite;-moz-animation: hrhand 8s linear infinite;animation: hrhand 8s linear infinite;}@-webkit-keyframes minhand {0% {-webkit-transform: rotate(0deg)}100% {-webkit-transform: rotate(360deg)}}@-moz-keyframes minhand {0% {-moz-transform: rotate(0deg)}100% {-moz-transform: rotate(360deg)}}@keyframes minhand {0% {transform: rotate(0deg)}100% {transform: rotate(360deg)}}@-webkit-keyframes hrhand {0% {-webkit-transform: rotate(0deg)}100% {-webkit-transform: rotate(360deg)}}@-moz-keyframes hrhand {0% {-moz-transform: rotate(0deg)}100% {-moz-transform: rotate(360deg)}}@keyframes hrhand {0% {transform: rotate(0deg)}100% {transform: rotate(360deg)}}/*Typing Loader*/.typing_loader {width: 6px;height: 6px;border-radius: 50%;-webkit-animation: typing 1s linear infinite alternate;-moz-animation: Typing 1s linear infinite alternate;animation: typing 1s linear infinite alternate;margin: 46px auto;/* Not necessary- its only for layouting*/position: relative;left: -12px;}@-webkit-keyframes typing {0% {background-color: rgba(255, 255, 255, 1);box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 0.2),24px 0px 0px 0px rgba(255, 255, 255, 0.2);}25% {background-color: rgba(255, 255, 255, 0.4);box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 2),24px 0px 0px 0px rgba(255, 255, 255, 0.2);}75% {background-color: rgba(255, 255, 255, 0.4);box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 0.2),24px 0px 0px 0px rgba(255, 255, 255, 1);}}@-moz-keyframes typing {0% {background-color: rgba(255, 255, 255, 1);box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 0.2),24px 0px 0px 0px rgba(255, 255, 255, 0.2);}25% {background-color: rgba(255, 255, 255, 0.4);box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 2),24px 0px 0px 0px rgba(255, 255, 255, 0.2);}75% {background-color: rgba(255, 255, 255, 0.4);box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 0.2),24px 0px 0px 0px rgba(255, 255, 255, 1);}}@keyframes typing {0% {background-color: rgba(255, 255, 255, 1);box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 0.2),24px 0px 0px 0px rgba(255, 255, 255, 0.2);}25% {background-color: rgba(255, 255, 255, 0.4);box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 2),24px 0px 0px 0px rgba(255, 255, 255, 0.2);}75% {background-color: rgba(255, 255, 255, 0.4);box-shadow: 12px 0px 0px 0px rgba(255, 255, 255, 0.2),24px 0px 0px 0px rgba(255, 255, 255, 1);}}/*Location indicator */.location_indicator {margin: 30px auto;position: relative;left: -9px;}.location_indicator:before,.location_indicator:after {position: absolute;content: "";}.location_indicator:before {width: 20px;height: 20px;border-radius: 100% 100% 100% 0;box-shadow: 0px 0px 0px 2px rgba(255, 255, 255, 1);-webkit-animation: mapping 1s linear infinite;-moz-animation: mapping 1s linear infinite;animation: mapping 1s linear infinite;-webkit-transform: rotate(-46deg);-moz-transform: rotate(-46deg);transform: rotate(-46deg);}.location_indicator:after {width: 30px;height: 10px;border-radius: 100%;left: 44px;background-color: rgba(255, 255, 255, 0.2);top: 24px;z-index: -1;}@-webkit-keyframes mapping {0% {top: 0;}50% {top: -5px;}100% {top: 0;}}@-moz-keyframes mapping {0% {top: 0;}50% {top: -5px;}100% {top: 0;}}@-keyframes mapping {0% {top: 0;}50% {top: -5px;}100% {top: 0;}}/* go in*/.dashboard {width: 32px;height: 32px;margin: 30px auto;border: 2px rgba(255, 255, 255, 1) solid;border-radius: 100%;position: relative;overflow: hidden;z-index: 1;}.dashboard:after,.dashboard:before {position: absolute;content: "";}.dashboard:after {width: 14px;height: 2px;top: 20px;-webkit-transform-origin: 1px 1px;-moz-transform-origin: 1px 1px;transform-origin: 1px 1px;background-color: rgba(255, 255, 255, 1);-webkit-animation: dashboard_hand 2s linear infinite alternate;-moz-animation: dashboard_hand 2s linear infinite alternate;animation: dashboard_hand 2s linear infinite alternate;}.dashboard:before {width: 32px;height: 10px;background-color: rgba(255, 255, 255, 1);top: 20px;left: -2px;}@-webkit-keyframes dashboard_hand {0% {-webkit-transform: rotate(-160deg);}100% {-webkit-transform: rotate(-20deg);}}@-moz-keyframes dashboard_hand {0% {-moz-transform: rotate(-160deg);}100% {-moz-transform: rotate(-20deg);}}@keyframes dashboard_hand {0% {transform: rotate(-160deg);}100% {transform: rotate(-20deg);}}/*Battery*/.battery {width: 28px;height: 14px;border: 1px #fff solid;border-radius: 2px;position: relative;-webkit-animation: charge 5s linear infinite;-moz-animation: charge 5s linear infinite;animation: charge 5s linear infinite;top: 40px;margin: 0 auto;}.battery:after {width: 2px;height: 7px;background-color: #fff;border-radius: 0px 1px 1px 0px;position: absolute;content: "";top: 2px;right: -4px;}@-webkit-keyframes charge {0% {box-shadow: inset 0px 0px 0px #fff;}100% {box-shadow: inset 30px 0px 0px #fff;}}@-moz-keyframes charge {0% {box-shadow: inset 0px 0px 0px #fff;}100% {box-shadow: inset 30px 0px 0px #fff;}}@keyframes charge {0% {box-shadow: inset 0px 0px 0px #fff;}100% {box-shadow: inset 30px 0px 0px #fff;}}.magnifier {width: 20px;height: 20px;box-shadow: 0px 0px 0px 1px #fff;border-radius: 50%;position: relative;margin: 34px auto;-webkit-animation: magnify 1s linear infinite alternate;-moz-animation: magnify 1s linear infinite alternate;animation: magnify 1s linear infinite alternate;}.magnifier:after,.magnifier:before {position: absolute;content: "";}.magnifier:before {content: "me";font-size: 12px;left: 2px;text-align: center;top: 2px;}.magnifier:after {width: 2px;height: 8px;background-color: #fff;bottom: -6px;left: 20px;border-radius: 2px;-webkit-transform: rotate(-45deg);-moz-transform: rotate(-45deg);transform: rotate(-45deg);}@-webkit-keyframes magnify {0% {-webkit-transform: scale(1);}100% {-webkit-transform: scale(1.5);}}@-moz-keyframes magnify {0% {-moz-transform: scale(1);}100% {-moz-transform: scale(1.5);}}@keyframes magnify {0% {transform: scale(1);}100% {transform: scale(1.5);}}/*help ´óÍ·Íø www.datouwang.com */.help {width: 30px;height: 30px;border: 1px #fff solid;border-radius: 50%;-webkit-animation: rotation 1s ease-in-out infinite;-moz-animation: rotation 1s ease-in-out infinite;animation: rotation 1s ease-in-out infinite;margin: 30px auto;}.help:after {width: 5px;height: 5px;background-color: rgba(255, 255, 255, 1);border-radius: 100%;position: absolute;content: "";}@-webkit-keyframes rotation {0% {-webkit-transform: rotate(0deg);}100% {-webkit-transform: rotate(360deg);}}@-moz-keyframes rotation {0% {-moz-transform: rotate(0deg);}100% {-moz-transform: rotate(360deg);}}@keyframes rotation {0% {transform: rotate(0deg);}100% {transform: rotate(360deg);}}/*eye ball*/.eye {width: 20px;height: 20px;background-color: rgba(255, 255, 255, 0.8);border-radius: 50%;box-shadow: 30px 0px 0px 0px rgba(255, 255, 255, 0.8);position: relative;margin: 36px 26px;}.eye:after {background-color: #59488b;width: 10px;height: 10px;box-shadow: 30px 0px 0px 0px #59488b;border-radius: 50%;left: 9px;top: 8px;position: absolute;content: "";-webkit-animation: eyeball 2s linear infinite alternate;-moz-animation: eyeball 2s linear infinite alternate;animation: eyeball 2s linear infinite alternate;}@-webkit-keyframes eyeball {0% {left: 9px;}100% {left: 1px;}}@-moz-keyframes eyeball {0% {left: 9px;}100% {left: 1px;}}@keyframes eyeball {0% {left: 9px;}100% {left: 1px;}}/*coffee cup*/.coffee_cup {width: 20px;height: 24px;border: 1px rgba(255, 255, 255, 1) solid;border-radius: 0px 0px 5px 5px;position: relative;margin: 36px auto;}.coffee_cup:after,.coffee_cup:before {position: absolute;content: "";}.coffee_cup:after {width: 5px;height: 12px;border: 1px #fff solid;border-left: none;border-radius: 0px 20px 20px 0px;left: 20px;}.coffee_cup:before {width: 1px;height: 6px;background-color: rgba(255, 255, 255, 1);top: -10px;left: 4px;box-shadow: 5px 0px 0px 0px rgba(255, 255, 255, 1),5px -5px 0px 0px rgba(255, 255, 255, 1),10px 0px 0px 0px rgba(255, 255, 255, 1);-webkit-animation: steam 1s linear infinite alternate;-moz-animation: steam 1s linear infinite alternate;animation: steam 1s linear infinite alternate;}@-webkit-keyframes steam {0% {height: 0px;}100% {height: 6px;}}@-moz-keyframes steam {0% {height: 0px}100% {height: 6px;}}@keyframes steam {0% {height: 0px}100% {height: 6px;}}/*square*/.square {width: 20px;height: 20px;border: 1px rgba(255, 255, 255, 1) solid;margin: 36px auto;position: relative;-webkit-animation: fill_color 5s linear infinite;-moz-animation: fill_color 5s linear infinite;animation: fill_color 5s linear infinite;}.square:after {width: 4px;height: 4px;position: absolute;content: "";background-color: rgba(255, 255, 255, 1);top: -8px;left: 0px;-webkit-animation: square_check 1s ease-in-out infinite;-moz-animation: square_check 1s ease-in-out infinite;animation: square_check 1s ease-in-out infinite;}@-webkit-keyframes square_check {25% {left: 22px;top: -8px;}50% {left: 22px;top: 22px;}75% {left: -9px;top: 22px;}100% {left: -9px;top: -7px;}}@-moz-keyframes square_check {25% {left: 22px;top: -8px;}50% {left: 22px;top: 22px;}75% {left: -9px;top: 22px;}100% {left: -9px;top: -7px;}}@keyframes square_check {25% {left: 22px;top: -8px;}50% {left: 22px;top: 22px;}75% {left: -9px;top: 22px;}100% {left: -9px;top: -7px;}}@-webkit-keyframes fill_color {0% {box-shadow: inset 0px 0px 0px 0px rgba(255, 255, 255, 0.1);}100% {box-shadow: inset 0px -20px 0px 0px rgba(255, 255, 255, 1);}}@-moz-keyframes fill_color {0% {box-shadow: inset 0px 0px 0px 0px rgba(255, 255, 255, 0.1);}100% {box-shadow: inset 0px -20px 0px 0px rgba(255, 255, 255, 1);}}@keyframes fill_color {0% {box-shadow: inset 0px 0px 0px 0px rgba(255, 255, 255, 0.1);}100% {box-shadow: inset 0px -20px 0px 0px rgba(255, 255, 255, 1);}}/*circle classick*/.circle {margin: 40px auto;position: relative;width: 8px;height: 8px;background-color: rgba(255, 255, 255, .5);;box-shadow: -14px 0px 0px rgba(255, 255, 255, 1);border-radius: 50%;-webkit-animation: circle_classic 1s ease-in-out infinite alternate;-moz-animation: circle_classic 1s ease-in-out infinite alternate;animation: circle_classic 1s ease-in-out infinite alternate;}@-webkit-keyframes circle_classic {0% {opacity: 0.1;-webkit-transform: rotate(0deg) scale(0.5);}100% {opacity: 1;-webkit-transform: rotate(360deg) scale(1.2);}}@-moz-keyframes circle_classic {0% {opacity: 0.1;-moz-transform: rotate(0deg) scale(0.5);}100% {opacity: 1;-moz-transform: rotate(360deg) scale(1.2);}}@keyframes circle_classic {0% {opacity: 0.1;transform: rotate(0deg) scale(0.5);}100% {opacity: 1;transform: rotate(360deg) scale(1.2);}}/*cloud*/.cloud {margin: 42px 30px;width: 4px;height: 10px;opacity: 0.5;position: relative;box-shadow: 6px 0px 0px 0px rgba(255, 255, 255, 1),12px 0px 0px 0px rgba(255, 255, 255, 1),18px 0px 0px 0px rgba(255, 255, 255, 1),24px 0px 0px 0px rgba(255, 255, 255, 1),30px 0px 0px 0px rgba(255, 255, 255, 1),36px 0px 0px 0px rgba(255, 255, 255, 1);-webkit-animation: rain 1s linear infinite alternate;-moz-animation: rain 1s linear infinite alternate;animation: rain 1s linear infinite alternate;}.cloud:after {width: 40px;height: 10px;position: absolute;content: "";background-color: rgba(255, 255, 255, 1);top: 0px;opacity: 1;-webkit-animation: line_flow 2s linear infinite reverse;-moz-animation: line_flow 2s linear infinite reverse;animation: line_flow 2s linear infinite reverse;}@-webkit-keyframes rain {0% {box-shadow: 6px 0px 0px 0px rgba(255, 255, 255, 1),12px 0px 0px 0px rgba(255, 255, 255, 0.9),18px 0px 0px 0px rgba(255, 255, 255, 0.7),24px 0px 0px 0px rgba(255, 255, 255, 0.6),30px 0px 0px 0px rgba(255, 255, 255, 0.3),36px 0px 0px 0px rgba(255, 255, 255, 0.2);}100% {box-shadow: 6px 0px 0px 0px rgba(255, 255, 255, 0.2),12px 0px 0px 0px rgba(255, 255, 255, 0.3),18px 0px 0px 0px rgba(255, 255, 255, 0.6),24px 0px 0px 0px rgba(255, 255, 255, 0.7),30px 0px 0px 0px rgba(255, 255, 255, 0.9),36px 0px 0px 0px rgba(255, 255, 255, 1);opacity: 1;}}@-moz-keyframes rain {0% {box-shadow: 6px 0px 0px 0px rgba(255, 255, 255, 1),12px 0px 0px 0px rgba(255, 255, 255, 0.9),18px 0px 0px 0px rgba(255, 255, 255, 0.7),24px 0px 0px 0px rgba(255, 255, 255, 0.6),30px 0px 0px 0px rgba(255, 255, 255, 0.3),36px 0px 0px 0px rgba(255, 255, 255, 0.2);}100% {box-shadow: 6px 0px 0px 0px rgba(255, 255, 255, 0.2),12px 0px 0px 0px rgba(255, 255, 255, 0.3),18px 0px 0px 0px rgba(255, 255, 255, 0.6),24px 0px 0px 0px rgba(255, 255, 255, 0.7),30px 0px 0px 0px rgba(255, 255, 255, 0.9),36px 0px 0px 0px rgba(255, 255, 255, 1);opacity: 1;}}@keyframes rain {0% {box-shadow: 6px 0px 0px 0px rgba(255, 255, 255, 1),12px 0px 0px 0px rgba(255, 255, 255, 0.9),18px 0px 0px 0px rgba(255, 255, 255, 0.7),24px 0px 0px 0px rgba(255, 255, 255, 0.6),30px 0px 0px 0px rgba(255, 255, 255, 0.3),36px 0px 0px 0px rgba(255, 255, 255, 0.2);}100% {box-shadow: 6px 0px 0px 0px rgba(255, 255, 255, 0.2),12px 0px 0px 0px rgba(255, 255, 255, 0.3),18px 0px 0px 0px rgba(255, 255, 255, 0.6),24px 0px 0px 0px rgba(255, 255, 255, 0.7),30px 0px 0px 0px rgba(255, 255, 255, 0.9),36px 0px 0px 0px rgba(255, 255, 255, 1);opacity: 1;}}@-webkit-keyframes line_flow {0% {width: 0px;}100% {width: 40px;}}@-moz-keyframes line_flow {0% {width: 0px;}100% {width: 40px;}}@keyframes line_flow {0% {width: 0px;}100% {width: 40px;}}/* Me */.aboutme {width: 700px;padding: 50px 0;border-top: 2px rgba(255, 255, 255, 0.03) solid;}.viduthalai {background: url(../img/viduthalai.png) no-repeat;width: 100px;height: 100px;border-radius: 0 2px 2px 0;float: left;opacity: 0.5;}.viduthalai:hover {opacity: 1;}.intro {float: left;width: 400px;padding-left: 20px;color: rgba(255, 255, 255, 0.5);}.intro a {color: rgba(255, 255, 255, 0.5);}.intro a:hover {color: rgba(255, 255, 255, 1);}.intro span,p {font-size: 15px;font-weight: 200;}.intro h3 {font-size: 20px;font-weight: 200;margin: 0px;}.git {color: rgba(255, 255, 255, 0.5);float: right;text-align: right;padding: 10px 20px;border-radius: 2px;background-color: rgba(0, 0, 0, 0.3);font-weight: 200;}.git:hover {background-color: rgba(0, 0, 0, 0.2);}</style></head><body><div style="text-align:center;clear:both"><script src="/gg_bd_ad_720x90.js" type="text/javascript"></script><script src="/follow.js" type="text/javascript"></script></div><!-- 代码 开始 --><div class="wrapper"><div class="row cf"><div class="span"><div class="timer"></div></div><div class="span"><div class="typing_loader"></div></div><div class="span"><div class="location_indicator"></div></div><div class="span"><div class="dashboard"></div></div></div><div class="row cf"><div class="span"><div class="battery"></div></div><div class="span"><div class="magnifier"></div></div><div class="span"><div class="help"></div></div><div class="span"><div class="cloud"></div></div></div><div class="row cf"><div class="span"><div class="eye"></div></div><div class="span"><div class="coffee_cup"></div></div><div class="span"><div class="square"></div></div><div class="span"><div class="circle"></div></div></div></div><!-- 代码 结束 --><div style="text-align:center;clear:both"><script src="/gg_bd_ad_720x90-2.js" type="text/javascript"></script></div></body>
</html>

这个忘记是哪位博主的了,就不贴链接了,看到请联系

 

另外还看到比较漂亮的Loading图

https://blog.csdn.net/qingfeidie/article/details/79976151

https://www.cnblogs.com/lhb25/p/loading-spinners-animated-with-css3.html

 

转载于:https://www.cnblogs.com/zjt-blogs/p/10732026.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/249119.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

JavaScript从入门到精通之入门篇(二)函数和数组

入门篇大纲 第二部分 函数与数组 1.函数 函数的定义 普通函数 function 函数名 &#xff08;表达式1…&#xff09; { 代码块 }js是解释性语言&#xff0c;在当前script标签代码执行的开始阶段&#xff0c;就会将普通函数放入堆中&#xff0c;也只是将引用放入堆中&#xf…

一道Python面试题

无意间&#xff0c;看到这么一道Python面试题&#xff1a;以下代码将输出什么&#xff1f; def testFun(): temp [lambda x : i*x for i in range(4)] return temp for everyLambda in testFun(): print (everyLambda(2))脑中默默一想&#xff0c;这还用说么&#xff0c;肯定是…

Windows下的ssh姐妹花 Xshell 和 Xftp

Windows下的ssh姐妹花 Xshell 和 Xftp 今天是3月8号&#xff0c;中国传统的三八妇女节&#xff0c;是距离中国新兴节日三七女生&#xff08;神&#xff09;节最近的一个全国性节日&#xff0c;今天我也是宅在家&#xff0c;研究了一下近日工作上遇到的一个纯软件技术问题。废话…

关于数字证书理解的简单整理以及12306站点证书简单分析

版权声明&#xff1a;本文为博主原创文章&#xff0c;未经博主允许不得转载。 https://blog.csdn.net/sundacheng1989/article/details/25540601 首先简单理解一下什么是数字证书。这里是一篇英文文档&#xff0c;描写叙述的非常形象。形象的描写叙述了什么是公钥。什么是私钥。…

Mac中安装Node和版本控制工具nvm遇到的坑

首先说说常规的安装 1. 下载nvm,使用nvm来管理Node版本 官方文档 windows 版本  https://github.com/coreybutler/nvm-windows mac 版本    https://github.com/creationix/nvm#install-script 命令行 尽量不要用brew&#xff0c;免得掉坑 curl -o- https://raw.githubu…

wepy - 与原生有什么不同(x.wpy)使用实例

源码 1 <template>2 <view classmark wx:if"{{showMark}}">3 <view animation"{{animationData}}" class"animCat">4 <image src"http://osk1hpe2y.bkt.clouddn.com/18-5-30/34559443.jpg"></…

CSS实现div梯形分割

原理 使用的border边框属性结合svg 转换 详见代码 <!DOCTYPE html> <html lang"en"> <head><meta charset"UTF-8"><title>css实现div边框斜角</title><style type"text/css"> .labels {display: i…

算法学习——决策单调性优化DP

update in 2019.1.21 优化了一下文中年代久远的代码 的格式…… 什么是决策单调性&#xff1f; 在满足决策单调性的情况下&#xff0c;通常决策点会形如1111112222224444445555588888..... 即不可能会出现后面点的决策点小于前面点的决策点这种情况。 那么这个性质应该如何使用…

SVG画一个箭头

参考菜鸟手册&#xff1a; https://www.runoob.com/svg/svg-tutorial.html 打开菜鸟中的在线工具 在可视化截图拖拉元素绘制箭头 点击command U 查看源码 将源码拷入html代码中&#xff0c;查看效果 最后&#xff0c;贴出源码供大家参考 <!DOCTYPE html> <…

数字签名与HTTPS详解

因为HTTP协议本身存在着明文传输、不能很好的验证通信方的身份和无法验证报文的完整性等一些安全方面的确点&#xff0c;所以才有了HTTPS的缺陷。HTTPS确切的的说不是一种协议&#xff0c;而是HTTP SSL (TSL)的结合体。HTTP报文经过SSL层加密后交付给TCP层进行传输。SSL(安全套…

WPF效果(GIS三维续篇)

去年这个时候简单的摸索了一下三维的GIS相关的东西,也就是仅仅玩耍了一把,这次来点真正用的上的干货效果效果&#xff1a; 1、加载自定义百度样式的瓦片效果 2、加载自定义百度样式的缩放效果 3、快速手动进去咱的大帝都 4、加载海量Mark效果 5、加载海量Mark和简单模型效果 6、…

[19/04/23-星期二] GOF23_创建型模式(工厂模式、抽象工厂模式)

一、工厂模式(分为&#xff1a;简单工厂模式、工厂方法模式、抽象工厂模式) 实现了创建者和调用者的分离 核心本质&#xff1a;1、实例化对象&#xff0c;用工厂方法代替new操作&#xff1b;2、将选择实现类、创建对象统一管理和控制&#xff0c;从而将调用者跟实现类解耦。 简…

Chrome浏览器12px问题-webkit-text-size-adjust: none 已失效的解决方案

对于早期的chrome, 如果要想显示12px以下的字体&#xff0c;一般通用的方案都是在对应的元素中添加 div {-webkit-text-size-adjust: none; }但是我今天遇到的需求&#xff0c;添加了之后没有反应&#xff0c;而且浏览就根本不支持这种写法。 在网上看到了博客《Chrome浏览器…

深入理解vue中的slot与slot-scope

写在前面 vue中关于插槽的文档说明很短&#xff0c;语言又写的很凝练&#xff0c;再加上其和methods&#xff0c;data&#xff0c;computed等常用选项在使用频率、使用先后上的差别&#xff0c;这就有可能造成初次接触插槽的开发者容易产生“算了吧&#xff0c;回头再学&#…

关于Java抽象类,接口与实现接口及派生类继承基类

1. 抽象类 抽象类就是有一个或多个方法只被声明而未被实现。 抽象方法的声明以分号结束&#xff0c;并且用关键字abstract来说明它以标识它为抽象方法。 格式&#xff1a; public abstract class 类名{ 定义变量// 抽象方法// } 2. 接口是抽象类的一种&#xff0c;之包含常量…

Luogu P1471 方差

题目传送门 开了十倍空间才过是什么鬼&#xff1f;该不会我线段树炸了吧……细思极恐 平均数都会求&#xff0c;维护区间和&#xff0c;到时候除一下就好了。 方差的求法如下(用的Luogu的图片) 因为要维护一个平方&#xff0c;我们可以考虑使用van♂完全平方公式将它拆开&#…

Android SDK 2.3/3.0/4.0/4.2 下载与安装教程

Eclipse下搭建Android开发环境教程&#xff1a;http://dev.son1c.com/show/1253.html Google已经发布了Android SDK 4.2版本.下面给朋友们介绍一下安装 Android 模拟器 Emulator模拟器的方法: 1、首先确定安装了Java JDK&#xff0c;如果没有&#xff0c;可以去http://www.ora…

浏览器渲染原理与过程

一、浏览器如何渲染网页 要了解浏览器渲染页面的过程&#xff0c;首先得知道一个名词——关键路径渲染。关键渲染路径&#xff08;Critical Rendering Path&#xff09;是指与当前用户操作有关的内容。例如用户在浏览器中打开一个页面&#xff0c;其中页面所显示的东西就是当前…

深入理解CSS盒模型 - 程序猿的程 - 博客园

深入理解CSS盒模型 本文是学习中传思客在慕课网开的课程《前端跳槽面试必备技巧》的学习笔记。课程地址&#xff1a;https://coding.imooc.com/class/evaluation/129.html#Anchor。 如果你在面试的时候面试官让你谈谈对盒模型的理解&#xff0c;你是不是不知从何谈起。这种看似…

线程死锁问题

1 package com.demo.bingfa;2 3 /**4 * java并发编程中&#xff0c;死锁的概念5 *6 * 我们启用了两个线程&#xff0c;分别抢占2个资源&#xff0c;但这两个资源又分别被不同的对象&#xff08;字符串&#xff09;锁住了。7 * 当第一个线程调用 resource1 方法&#xff0c;…