宇宙行星公转粒子效果
代码语言:html
所属分类:粒子
代码描述:宇宙行星公转粒子效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> body { background: #d8e8e3; font-family: Trebuchet MS,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Tahoma, sans-serif; padding: 200px 20px 800px; max-width: 600px; margin: auto; } .screen-reader { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; } .screen-reader:focus { background-color: #ddd; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #444; display: block; font-size: 1.2rem; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */ } #field, .field-info-container { background: #eee; position: absolute; width: 200px; height: 200px; border-radius: 50%; margin: auto; top: 250px; left: 40%; } .field-info-container { position: absolute; display: -webkit-box; display: flex; -webkit-box-pack: center; justify-content: center; -webkit-box-align: center; align-items: center; text-align: center; -webkit-box-orient: vertical; -webkit-box-direction: normal; flex-direction: column; background: #fff; box-shadow: 0 1px 15px rgba(255, 255, 255, 0.8); z-index: 5; top: 0; left: 0; } .field-info-container:after, .field-info-container:before { display: block; content: ''; position: absolute; width: 200%; height: 200%; border: 2px solid #fff; border-radius: 50%; } .field-info-container:before { width: 350%; height: 350%; border: 2px solid rgba(255, 255, 255, 0.5); } .ball { position: absolute; border-radius: 50%; width: 10px; height: 10px; background: #0ebeff; } button { float: left; border: no.........完整代码请登录后点击上方下载按钮下载查看
网友评论0