html 太极样式

太极 + 炫光

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>太极</title>
	</head>
	<style>
	        @keyframes myRote {
	            from {
	                transform: rotate(0deg);
	            } to {
	                transform: rotate(360deg);
	            }
	        }
	        body {
	            background-color: #999;
	        }
	        .box {
	            width: 0px;
	            height: 300px;
	            border-left: 150px solid #000000;
				border-right: 150px solid #FFFFFF;
	            border-radius: 50%;
	            position: relative;
	            animation: myRote 4s linear infinite;
				box-shadow: 0 0 8px 2px rgb(147, 204, 232);

	        }
	        .box::before {
	            content: "";
	            display: block;
	            width: 50px;
	            height: 50px;
	            border: 50px solid #000000;
	            background-color: #FFFFFF;
	            border-radius: 50%;
	            position: absolute;
	            left: -75px;
	        }
	        
	        .box::after {
	            content: "";
	            display: block;
	            width: 50px;
	            height: 50px;
	            border: 50px solid #FFFFFF;
	            background-color: #000000;
	            border-radius: 50%;
	            position: absolute;
	            top: 150px;
	            left: -75px;
	        }
	    </style>
	<body>
	    <div class="box">
	
	    </div>
	</body>
</html>

相关推荐

  1. 样式Html 卡片样式

    2024-04-12 06:04:01       38 阅读
  2. HTML 字体样式

    2024-04-12 06:04:01       56 阅读
  3. HTML样式 CSS

    2024-04-12 06:04:01       60 阅读
  4. HTML:浏览器CSS样式前缀

    2024-04-12 06:04:01       44 阅读
  5. HTML如何设置字体样式

    2024-04-12 06:04:01       35 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-12 06:04:01       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-12 06:04:01       106 阅读
  3. 在Django里面运行非项目文件

    2024-04-12 06:04:01       87 阅读
  4. Python语言-面向对象

    2024-04-12 06:04:01       96 阅读

热门阅读

  1. 「PHP系列」PHP面向对象详解

    2024-04-12 06:04:01       38 阅读
  2. 5G智慧港口简介(二)

    2024-04-12 06:04:01       35 阅读
  3. uni-app的地图定位与距离测算功能的实现

    2024-04-12 06:04:01       33 阅读