Html
    Css
    Js

    
                        
 ul {
	list-style:none;
	padding:0;
}
li {
	list-style:none;
	height:20px;
	margin:6px 4px;
	border-radius:4px;
	background:linear-gradient(90deg,rgba(0,0,0,0.06) 25%,rgba(0,0,0,0.15) 37%,rgba(0,0,0,0.06) 63%);
	animation-name:loading;
	animation-duration:1.4s;
	animation-timing-function:ease;
	animation-iteration-count:infinite;
	background-size:400% 100%;
}
@keyframes loading {
	0% {
	background-position:100% 50%;
}
100% {
	background-position:0 50%;
}
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.11.3
 立即下载

h5+css 骨架屏

更新时间:2024-03-06 08:26:09

纯h5+css 骨架屏

0