jQuery添加背景动画动态跳动的圆球效果

 时间:2024-10-13 08:55:51

1、新建html文档。

jQuery添加背景动画动态跳动的圆球效果

2、书写hmtl代码。<div id="Wrapper"></div>

jQuery添加背景动画动态跳动的圆球效果

3、书写css代码。code[class*="language-"], pre[class*="language-"] { color: #f8f8f2; text-shadow: 0 1px rgba(0, 0, 0, 0.3); font-family: Consolas, Monaco, 'Andale Mono', monospace; direction: ltr; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; line-height: 1.5; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -web kit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; }/* Code blocks */pre[class*="language-"] { padding: 1em; margin: .5em 0; overflow: auto; border-radius: 0.3em; }:not(pre) > code[class*="language-"], pre[class*="language-"] { background: #272822; }/* Inline code */:not(pre) > code[class*="language-"] { padding: .1em; border-radius: .3em; }.token.comment, .token.prolog, .token.doctype, .token.cdata { color: slategray; }.token.punctuation { color: #f8f8f2; }.namespace { opacity: .7; }.token.property, .token.tag, .token.constant, .token.symbol, .token.deleted { color: #f92672; }.token.boolean, .token.number { color: #ae81ff; }.token.selector, .token.attr-name, .token.string, .token.char, .token.builtin, .token.inserted { color: #a6e22e; }.token.operator, .token.entity, .token.url, .language-css .token.string, .style .token.string, .token.variable { color: #f8f8f2; }.token.atrule, .token.attr-value, .token.function { color: #e6db74; }.token.keyword { color: #66d9ef; }.token.regex, .token.important { color: #fd971f; }.token.important, .token.bold { font-weight: bold; }.token.italic { font-style: italic; }.token.entity { cursor: help; }

jQuery添加背景动画动态跳动的圆球效果

4、书写并添加js代码。<script src="js/jquery-1.11.0.min.js"></script>

jQuery添加背景动画动态跳动的圆球效果

5、代码整体结构。

jQuery添加背景动画动态跳动的圆球效果

6、查看效果。

jQuery添加背景动画动态跳动的圆球效果
  • 文件夹正在使用无法删除怎么办
  • 电脑电源图标不见了怎么办
  • 使命召唤如何汉化,使命召唤正版如何汉化
  • SQL Server数据库如何更改主机名
  • microsoft怎么创建账户
  • 热门搜索
    传承红色基因手抄报 垃圾分类手抄报内容 爱眼日手抄报 爱国手抄报简单又漂亮 端午节手抄报大全 汉字真有趣手抄报 手抄报图片大全 清明节手抄报的内容 文明礼仪伴我行手抄报 安全教育手抄报