前端小案例汇总(附上原码)

   日期:2020-05-11     浏览:108    评论:0    
核心提示:一.交叉动画效果 交...前端</div><div id="content"><div class="content" id="article"><h2>一.交叉动画效果</h2> <p><img src="/file/upload/2020/5/nyaQnu.gif" class="aligncenter"></p> <pre><code><span><</span><span>!</span><span>DOCTYPE</span> html<span>></span> <span><</span>html lang<span>=</span><span>"en"</span><span>></span> <span><</span>head<span>></span> <span><</span>meta charset<span>=</span><span>"UTF-8"</span><span>></span> <span><</span>meta name<span>=</span><span>"viewport"</span> content<span>=</span><span>"width=device-width, initial-scale=1.0"</span><span>></span> <span><</span>title<span>></span>交叉动画实现<span><</span><span>/</span>title<span>></span> <span><</span>style<span>></span> <span>*</span> <span>{</span> margin<span>:</span> <span>0</span><span>;</span> padding<span>:</span> <span>0</span><span>;</span> list<span>-</span>style<span>:</span> none<span>;</span> <span>}</span> <span>.</span>wrapper <span>{</span> background<span>-</span>color<span>:</span> #<span>222</span><span>;</span> width<span>:</span> <span>100</span><span>%</span><span>;</span> height<span>:</span> <span>100</span>vh<span>;</span> display<span>:</span> flex<span>;</span> align<span>-</span>items<span>:</span> center<span>;</span> justify<span>-</span>content<span>:</span> center<span>;</span> <span>}</span> <span>.</span>dot <span>{</span> width<span>:</span> <span>2</span>em<span>;</span> height<span>:</span> <span>2</span>em<span>;</span> margin<span>:</span> <span>1</span>em<span>;</span> border<span>-</span>radius<span>:</span> <span>50</span><span>%</span><span>;</span> background<span>-</span>color<span>:</span> red<span>;</span> position<span>:</span> relative<span>;</span> <span>}</span> <span>.</span>dot<span>:</span><span>:</span>before <span>{</span> width<span>:</span> <span>100</span><span>%</span><span>;</span> height<span>:</span> <span>100</span><span>%</span><span>;</span> position<span>:</span> absolute<span>;</span> background<span>-</span>color<span>:</span> inherit<span>;</span> border<span>-</span>radius<span>:</span> inherit<span>;</span> content<span>:</span> <span>""</span><span>;</span> animation<span>:</span> wave <span>2</span>s ease<span>-</span>out infinite<span>;</span> <span>}</span> <span></span> <span></span> <span></span> @keyframes wave <span>{</span> <span>50</span><span>%</span> <span>{</span> transform<span>:</span> <span>scale</span><span>(</span><span>2.5</span><span>)</span><span>;</span> <span>}</span> <span>100</span><span>%</span> <span>{</span> opacity<span>:</span> <span>0</span><span>;</span> <span>}</span> <span>}</span> <span><</span><span>/</span>style<span>></span> <span><</span><span>/</span>head<span>></span> <span><</span>body<span>></span> <span><</span>div <span>class</span><span>=</span><span>"wrapper"</span><span>></span> <span><</span>div <span>class</span><span>=</span><span>"dot"</span><span>></span><span><</span><span>/</span>div<span>></span> <span><</span>div <span>class</span><span>=</span><span>"dot"</span><span>></span><span><</span><span>/</span>div<span>></span> <span><</span>div <span>class</span><span>=</span><span>"dot"</span><span>></span><span><</span><span>/</span>div<span>></span> <span><</span>div <span>class</span><span>=</span><span>"dot"</span><span>></span><span><</span><span>/</span>div<span>></span> <span><</span>div <span>class</span><span>=</span><span>"dot"</span><span>></span><span><</span><span>/</span>div<span>></span> <span><</span><span>/</span>div<span>></span> <span><</span>script src<span>=</span><span>"https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"</span><span>></span><span><</span><span>/</span>script<span>></span> <span><</span>script<span>></span> <span>$</span><span>(</span><span>function</span><span>(</span><span>)</span> <span>{</span> <span>var</span> $dot<span>=</span><span>$</span><span>(</span><span>".dot"</span><span>)</span><span>;</span> <span>for</span><span>(</span><span>var</span> i<span>=</span><span>0</span><span>;</span>i<span><</span>$dot<span>.</span>length<span>;</span>i<span>++</span><span>)</span> <span>{</span> <span>$</span><span>(</span><span><span>`.dot:nth-of-type(</span><span><span>${</span>i<span>+</span><span>1</span><span>}</span></span><span>)`</span></span><span>)</span><span>.</span><span>css</span><span>(</span><span>{</span> <span>"background-color"</span><span>:</span><span><span>`rgb(</span><span><span>${</span><span>random</span><span>(</span><span>0</span><span>,</span><span>255</span><span>)</span><span>}</span></span><span>,</span><span><span>${</span><span>random</span><span>(</span><span>0</span><span>,</span><span>255</span><span>)</span><span>}</span></span><span>,</span><span><span>${</span><span>random</span><span>(</span><span>0</span><span>,</span><span>255</span><span>)</span><span>}</span></span><span>)`</span></span> <span>}</span><span>)</span> <span>// $(`.dot:nth-of-type(${i+1})::before`).css({</span> <span>// "animation-delay":i*0.2+"s"</span> <span>// })</span> <span>$</span><span>(</span><span>"head"</span><span>)</span><span>.</span><span>append</span><span>(</span> <span><span>`<style> .dot:nth-of-type(</span><span><span>${</span>i<span>+</span><span>1</span><span>}</span></span><span>)::before { animation-delay:</span><span><span>${</span>i<span>*</span><span>0.2</span><span>}</span></span><span>s } </style>`</span></span> <span>)</span> <span>}</span> <span>}</span><span>)</span> <span>function</span> <span>random</span><span>(</span>min<span>,</span>max<span>)</span> <span>{</span> <span>return</span> Math<span>.</span><span>floor</span><span>(</span>Math<span>.</span><span>random</span><span>(</span><span>)</span><span>*</span><span>(</span>max<span>-</span>min<span>)</span><span>+</span>min<span>)</span> <span>}</span> <span><</span><span>/</span>script<span>></span> <span><</span><span>/</span>body<span>></span> <span><</span><span>/</span>html<span>></span> </code></pre> <h2>二.闪光按钮</h2> <p><img src="/file/upload/2020/5/3Q3qy2.gif" class="aligncenter"></p> <pre><code><span><</span><span>!</span><span>DOCTYPE</span> html<span>></span> <span><</span>html lang<span>=</span><span>"en"</span><span>></span> <span><</span>head<span>></span> <span><</span>meta charset<span>=</span><span>"UTF-8"</span><span>></span> <span><</span>meta name<span>=</span><span>"viewport"</span> content<span>=</span><span>"width=device-width, initial-scale=1.0"</span><span>></span> <span><</span>title<span>></span>闪亮按钮<span><</span><span>/</span>title<span>></span> <span><</span>style<span>></span> <span>*</span><span>{</span> margin<span>:</span> <span>0</span><span>;</span> padding<span>:</span> <span>0</span><span>;</span> list<span>-</span>style<span>:</span> none<span>;</span> <span>}</span> body<span>{</span> height<span>:</span> <span>100</span>vh<span>;</span> background<span>:</span> #<span>000</span><span>;</span> display<span>:</span> flex<span>;</span> justify<span>-</span>content<span>:</span> center<span>;</span> align<span>-</span>items<span>:</span> center<span>;</span> <span>}</span> <span>.</span>btn<span>{</span> padding<span>:</span> <span>1</span>rem <span>3</span>rem<span>;</span> font<span>-</span>size<span>:</span> <span>1</span>rem<span>;</span> line<span>-</span>height<span>:</span> <span>1.5</span><span>;</span> color<span>:</span> #fff<span>;</span> <span>--</span>hue<span>:</span><span>190</span><span>;</span> background<span>:</span> <span>hsl</span><span>(</span><span>var</span><span>(</span><span>--</span>hue<span>)</span><span>,</span> <span>100</span><span>%</span><span>,</span> <span>40</span><span>%</span><span>)</span><span>;</span> border<span>:</span> <span>1</span>px solid <span>hsl</span><span>(</span><span>var</span><span>(</span><span>--</span>hue<span>)</span><span>,</span> <span>100</span><span>%</span><span>,</span> <span>40</span><span>%</span><span>)</span><span>;</span> text<span>-</span>transform<span>:</span> uppercase<span>;</span> <span>}</span> <span>.</span>btn<span>:</span>hover<span>{</span> background<span>:</span> <span>hsl</span><span>(</span><span>var</span><span>(</span><span>--</span>hue<span>)</span><span>,</span> <span>100</span><span>%</span><span>,</span> <span>20</span><span>%</span><span>)</span><span>;</span> <span></span> <span>}</span> <span>.</span>btn<span>.</span>btn<span>-</span>ghost<span>{</span> background<span>:</span> transparent<span>;</span> <span>}</span> <span>.</span>btn<span>.</span>btn<span>-</span>shine<span>{</span> position<span>:</span> relative<span>;</span> overflow<span>:</span> hidden<span>;</span> <span>}</span> <span>.</span>btn<span>.</span>btn<span>-</span>shine<span>:</span><span>:</span>before<span>{</span> position<span>:</span> absolute<span>;</span> width<span>:</span> <span>100</span><span>%</span><span>;</span> height<span>:</span> <span>100</span><span>%</span><span>;</span> top<span>:</span><span>0</span><span>;</span> left<span>:</span><span>0</span><span>;</span> background<span>:</span> linear<span>-</span><span>gradient</span><span>(</span><span>120</span>deg<span>,</span>transparent<span>,</span> <span>hsla</span><span>(</span><span>var</span><span>(</span><span>--</span>hue<span>)</span><span>,</span> <span>100</span><span>%</span><span>,</span> <span>40</span><span>%</span><span>,</span><span>0.5</span><span>)</span><span>,</span>transparent<span>)</span><span>;</span> content<span>:</span> <span>""</span><span>;</span> transform<span>:</span> <span>translateX</span><span>(</span><span>-</span><span>100</span><span>%</span><span>)</span><span>;</span> transition<span>:</span> <span>0.8</span>s<span>;</span> <span>}</span> <span>.</span>btn<span>.</span>btn<span>-</span>shine<span>:</span>hover<span>:</span><span>:</span>before<span>{</span> transform<span>:</span> <span>translateX</span><span>(</span><span>100</span><span>%</span><span>)</span><span>;</span> <span>}</span> <span>.</span>btn<span>.</span>btn<span>-</span>shine<span>:</span>hover<span>{</span> box<span>-</span>shadow<span>:</span> <span>0</span> <span>0</span> <span>20</span>px <span>10</span>px <span>hsla</span><span>(</span><span>var</span><span>(</span><span>--</span>hue<span>)</span><span>,</span> <span>100</span><span>%</span><span>,</span> <span>40</span><span>%</span><span>,</span><span>0.5</span><span>)</span><span>;</span> <span>}</span> <span>.</span>btn<span>.</span>btn<span>-</span>success <span>{</span> <span>--</span>hue<span>:</span><span>350</span><span>;</span> <span>}</span> <span><</span><span>/</span>style<span>></span> <span><</span><span>/</span>head<span>></span> <span><</span>body<span>></span> <span><</span>button <span>class</span><span>=</span><span>"btn btn-ghost btn-shine btn-success"</span><span>></span>hover me<span><</span><span>/</span>button<span>></span> <span><</span><span>/</span>body<span>></span> <span><</span><span>/</span>html<span>></span> </code></pre> <h2>三.下雪场景</h2> <p><img src="/file/upload/2020/5/6f2Izy.gif" class="aligncenter"></p> <pre><code><span><</span><span>!</span><span>DOCTYPE</span> html<span>></span> <span><</span>html lang<span>=</span><span>"en"</span><span>></span> <span><</span>head<span>></span> <span><</span>meta charset<span>=</span><span>"UTF-8"</span><span>></span> <span><</span>meta name<span>=</span><span>"viewport"</span> content<span>=</span><span>"width=device-width, initial-scale=1.0"</span><span>></span> <span><</span>title<span>></span>想和你一起去看雪<span><</span><span>/</span>title<span>></span> <span><</span>style<span>></span> <span>*</span> <span>{</span> margin<span>:</span> <span>0</span><span>;</span> padding<span>:</span> <span>0</span><span>;</span> list<span>-</span>style<span>:</span> none<span>;</span> <span>}</span> body <span>{</span> height<span>:</span> <span>100</span>vh<span>;</span> background<span>:</span> radial<span>-</span><span>gradient</span><span>(</span>ellipse at bottom<span>,</span> #<span>1</span>b2735 <span>0</span><span>,</span> #<span>090</span>a0f <span>100</span><span>%</span><span>)</span><span>;</span> filter<span>:</span> drop<span>-</span><span>shadow</span><span>(</span><span>0</span> <span>0</span> <span>10</span>px white<span>)</span><span>;</span> position<span>:</span> relative<span>;</span> <span>}</span> <span>.</span>snow <span>{</span> width<span>:</span> <span>10</span>px<span>;</span> height<span>:</span> <span>10</span>px<span>;</span> border<span>-</span>radius<span>:</span> <span>50</span><span>%</span><span>;</span> background<span>-</span>color<span>:</span> #fff<span>;</span> position<span>:</span> absolute<span>;</span> <span>}</span> <span>.</span>mywords <span>{</span> position<span>:</span> fixed<span>;</span> left<span>:</span> <span>50</span><span>%</span><span>;</span> top<span>:</span><span>50</span><span>%</span><span>;</span> transform<span>:</span> <span>translate</span><span>(</span><span>-</span><span>50</span><span>%</span><span>,</span><span>-</span><span>50</span><span>%</span><span>)</span><span>;</span> color<span>:</span> #fff<span>;</span> font<span>-</span>size<span>:</span> <span>1.5</span>em<span>;</span> line<span>-</span>height<span>:</span> <span>2</span>em<span>;</span> font<span>-</span>weight<span>:</span> <span>500</span><span>;</span> display<span>:</span> flex<span>;</span> flex<span>-</span>wrap<span>:</span> wrap<span>;</span> <span>}</span> <span>.</span>mywords span<span>{</span> animation<span>:</span> jumpin <span>0.5</span>s ease<span>-</span>out both<span>;</span> <span>}</span> @keyframes jumpin <span>{</span> <span>from</span><span>{</span> transform<span>:</span> <span>translateY</span><span>(</span><span>-</span><span>20</span><span>%</span><span>)</span><span>;</span> opacity<span>:</span> <span>0</span><span>;</span> <span>}</span> to<span>{</span> transform<span>:</span> <span>translateY</span><span>(</span><span>0</span><span>)</span><span>;</span> opacity<span>:</span> <span>1</span><span>;</span> <span>}</span> <span>}</span> <span><</span><span>/</span>style<span>></span> <span><</span><span>/</span>head<span>></span> <span><</span>body<span>></span> <span><</span>p <span>class</span><span>=</span><span>"mywords"</span><span>></span> 余生我只想和你看雪看星星看月亮,从诗词歌赋谈到人生理想。 <span><</span><span>/</span>p<span>></span> <span><</span>script src<span>=</span><span>"https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"</span><span>></span><span><</span><span>/</span>script<span>></span> <span><</span>script<span>></span> <span>$</span><span>(</span><span>function</span> <span>(</span><span>)</span> <span>{</span> <span>var</span> words<span>=</span><span>$</span><span>(</span><span>".mywords"</span><span>)</span><span>.</span><span>text</span><span>(</span><span>)</span><span>.</span><span>split</span><span>(</span><span>""</span><span>)</span><span>;</span> <span>$</span><span>(</span><span>".mywords"</span><span>)</span><span>.</span><span>empty</span><span>(</span><span>)</span><span>;</span> words<span>.</span><span>forEach</span><span>(</span><span>(</span>w<span>,</span>i<span>)</span><span>=></span><span>{</span> <span>$</span><span>(</span><span><span>`<span></span><span><span>${</span>w<span>}</span></span><span></span>`</span></span><span>)</span><span>.</span><span>css</span><span>(</span><span>{</span> <span>"animation-delay"</span><span>:</span> <span>0.1</span><span>*</span>i<span>+</span><span>'s'</span> <span>}</span><span>)</span><span>.</span><span>appendTo</span><span>(</span><span>$</span><span>(</span><span>".mywords"</span><span>)</span><span>)</span><span>;</span> <span>}</span><span>)</span><span>;</span> <span>for</span><span>(</span><span>var</span> i<span>=</span><span>0</span><span>;</span>i<span><</span><span>200</span><span>;</span>i<span>++</span><span>)</span> <span>{</span> <span>var</span> x<span>=</span>Math<span>.</span><span>random</span><span>(</span><span>)</span><span>*</span><span>100</span><span>;</span> <span>var</span> y<span>=</span>Math<span>.</span><span>random</span><span>(</span><span>)</span><span>*</span><span>100</span><span>;</span> <span>var</span> scale<span>=</span>Math<span>.</span><span>random</span><span>(</span><span>)</span><span>;</span> <span>var</span> opacity<span>=</span>Math<span>.</span><span>random</span><span>(</span><span>)</span><span>;</span> <span>var</span> t1<span>=</span>Math<span>.</span><span>random</span><span>(</span><span>)</span><span>*</span><span>20</span><span>+</span><span>10</span><span>;</span> <span>var</span> t2<span>=</span>Math<span>.</span><span>random</span><span>(</span><span>)</span><span>*</span><span>30</span><span>;</span> <span>var</span> o<span>=</span>Math<span>.</span><span>random</span><span>(</span><span>)</span><span>*</span><span>20</span><span>-</span><span>10</span><span>;</span> <span>var</span> x1<span>=</span>x<span>+</span>o<span>;</span> <span>var</span> x2<span>=</span>x<span>+</span>o<span>/</span><span>2</span><span>;</span> <span>$</span><span>(</span><span><span>`<style> @keyframes fall</span><span><span>${</span>i<span>}</span></span><span> { </span><span><span>${</span>y<span>}</span></span><span>%{ transform: translate(</span><span><span>${</span>x1<span>}</span></span><span>vw, </span><span><span>${</span>y<span>}</span></span><span>vh) scale(</span><span><span>${</span>scale<span>}</span></span><span>); } to{ transform: translate(</span><span><span>${</span>x2<span>}</span></span><span>vw,100vh) scale(</span><span><span>${</span>scale<span>}</span></span><span>); } } </style>`</span></span><span>)</span><span>.</span><span>appendTo</span><span>(</span><span>$</span><span>(</span><span>"head"</span><span>)</span><span>)</span><span>;</span> <span>$</span><span>(</span><span>'<div class="snow"></div>'</span><span>)</span> <span>.</span><span>css</span><span>(</span><span>{</span> <span>"transform"</span><span>:</span> <span><span>`translate(</span><span><span>${</span>x<span>}</span></span><span>vw, -10px) scale(</span><span><span>${</span>scale<span>}</span></span><span>)`</span></span><span>,</span> <span>"opacity"</span><span>:</span> opacity<span>,</span> <span>"animation"</span><span>:</span> <span><span>`fall</span><span><span>${</span>i<span>}</span></span><span> </span><span><span>${</span>t1<span>}</span></span><span>s -</span><span><span>${</span>t2<span>}</span></span><span>s linear infinite`</span></span> <span>}</span><span>)</span> <span>.</span><span>appendTo</span><span>(</span><span>$</span><span>(</span><span>"body"</span><span>)</span><span>)</span><span>.</span><span>end</span><span>(</span><span>)</span> <span>}</span> <span>}</span><span>)</span> <span><</span><span>/</span>script<span>></span> <span><</span><span>/</span>body<span>></span> <span><</span><span>/</span>html<span>></span> </code></pre> <h2>四.红色闪光月亮</h2> <p><img src="/file/upload/2020/5/nqyqUf.gif" class="aligncenter"></p> <pre><code><span><</span><span>!</span><span>DOCTYPE</span> html<span>></span> <span><</span>html lang<span>=</span><span>"en"</span><span>></span> <span><</span>head<span>></span> <span><</span>meta charset<span>=</span><span>"UTF-8"</span><span>></span> <span><</span>meta name<span>=</span><span>"viewport"</span> content<span>=</span><span>"width=device-width, initial-scale=1.0"</span><span>></span> <span><</span>title<span>></span>红色的月亮<span><</span><span>/</span>title<span>></span> <span><</span>style<span>></span> <span>*</span><span>{</span> margin<span>:</span> <span>0</span><span>;</span> padding<span>:</span> <span>0</span><span>;</span> list<span>-</span>style<span>:</span> none<span>;</span> <span>}</span> body<span>{</span> background<span>:</span> black<span>;</span> height<span>:</span> <span>100</span>vh<span>;</span> display<span>:</span> flex<span>;</span> justify<span>-</span>content<span>:</span> center<span>;</span> align<span>-</span>items<span>:</span> center<span>;</span> <span>}</span> <span>.</span>moon <span>{</span> width<span>:</span> <span>8</span>em<span>;</span> height<span>:</span> <span>8</span>em<span>;</span> border<span>-</span>radius<span>:</span> <span>50</span><span>%</span><span>;</span> background<span>:</span> black<span>;</span> box<span>-</span>shadow<span>:</span> inset <span>0.5</span>em <span>-</span><span>0.5</span>em crimson<span>;</span> position<span>:</span> relative<span>;</span> animation<span>:</span> move <span>2</span>s linear infinite<span>;</span> <span>}</span> <span>.</span>moon<span>:</span><span>:</span>before<span>,</span><span>.</span>moon<span>:</span><span>:</span>after <span>{</span> position<span>:</span> absolute<span>;</span> width<span>:</span> <span>100</span><span>%</span><span>;</span> height<span>:</span> <span>100</span><span>%</span><span>;</span> background<span>:</span> inherit<span>;</span> box<span>-</span>shadow<span>:</span> inherit<span>;</span> border<span>-</span>radius<span>:</span> inherit<span>;</span> content<span>:</span> <span>""</span><span>;</span> <span>}</span> <span>.</span>moon<span>:</span><span>:</span>before<span>{</span> filter<span>:</span> <span>blur</span><span>(</span><span>5</span>px<span>)</span><span>;</span> <span>}</span> <span>.</span>moon<span>:</span><span>:</span>after<span>{</span> filter<span>:</span> <span>blur</span><span>(</span><span>10</span>px<span>)</span><span>;</span> <span>}</span> @keyframes move <span>{</span> to<span>{</span> transform<span>:</span> <span>rotate</span><span>(</span><span>1</span>turn<span>)</span><span>;</span> <span>}</span> <span>}</span> <span><</span><span>/</span>style<span>></span> <span><</span><span>/</span>head<span>></span> <span><</span>body<span>></span> <span><</span>div <span>class</span><span>=</span><span>"moon"</span><span>></span><span><</span><span>/</span>div<span>></span> <span><</span><span>/</span>body<span>></span> <span><</span><span>/</span>html<span>></span> </code></pre> <h2>五.文字效果</h2> <p><img src="/file/upload/2020/5/JBBVna.gif" class="aligncenter"></p> <pre><code><span><</span><span>!</span><span>DOCTYPE</span> html<span>></span> <span><</span>html lang<span>=</span><span>"en"</span><span>></span> <span><</span>head<span>></span> <span><</span>meta charset<span>=</span><span>"UTF-8"</span><span>></span> <span><</span>meta name<span>=</span><span>"viewport"</span> content<span>=</span><span>"width=device-width, initial-scale=1.0"</span><span>></span> <span><</span>title<span>></span>文本效果<span><</span><span>/</span>title<span>></span> <span><</span>style<span>></span> <span>*</span> <span>{</span> margin<span>:</span> <span>0</span><span>;</span> padding<span>:</span> <span>0</span><span>;</span> list<span>-</span>style<span>:</span> none<span>;</span> <span>}</span> body <span>{</span> background<span>-</span>color<span>:</span> #<span>0</span>f0f0f<span>;</span> height<span>:</span> <span>100</span>vh<span>;</span> display<span>:</span> flex<span>;</span> justify<span>-</span>content<span>:</span> center<span>;</span> align<span>-</span>items<span>:</span> center<span>;</span> <span>}</span> <span>.</span>mywords <span>{</span> color<span>:</span> #fff<span>;</span> font<span>-</span>size<span>:</span> <span>1.5</span>em<span>;</span> line<span>-</span>height<span>:</span> <span>1.8</span>em<span>;</span> margin<span>:</span> <span>0</span> <span>1</span>em<span>;</span> <span>}</span> <span>.</span>mywords span <span>{</span> animation<span>:</span> lightin <span>0.8</span>s both<span>;</span> <span>}</span> @keyframes lightin <span>{</span> <span>from</span> <span>{</span> opacity<span>:</span> <span>0</span><span>;</span> <span>}</span> <span>65</span><span>%</span> <span>{</span> opacity<span>:</span> <span>1</span><span>;</span> text<span>-</span>shadow<span>:</span> <span>0</span> <span>0</span> <span>30</span>px #fff<span>;</span> <span>}</span> <span>75</span><span>%</span> <span>{</span> opacity<span>:</span> <span>1</span><span>;</span> <span>}</span> to <span>{</span> opacity<span>:</span> <span>0.7</span><span>;</span> <span>}</span> <span>}</span> <span><</span><span>/</span>style<span>></span> <span><</span><span>/</span>head<span>></span> <span><</span>body<span>></span> <span><</span>p <span>class</span><span>=</span><span>"mywords"</span><span>></span> 不管前方的路有多苦,只要走的方向正确,不管多么崎岖不平,都比站在原地更接近幸福。 <span><</span><span>/</span>p<span>></span> <span><</span>script src<span>=</span><span>"https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"</span><span>></span><span><</span><span>/</span>script<span>></span> <span><</span>script<span>></span> <span>$</span><span>(</span><span>function</span><span>(</span><span>)</span> <span>{</span> <span>var</span> words<span>=</span><span>$</span><span>(</span><span>".mywords"</span><span>)</span><span>.</span><span>text</span><span>(</span><span>)</span><span>.</span><span>split</span><span>(</span><span>""</span><span>)</span><span>;</span> <span>$</span><span>(</span><span>".mywords"</span><span>)</span><span>.</span><span>empty</span><span>(</span><span>)</span><span>;</span> words<span>.</span><span>forEach</span><span>(</span><span>(</span>w<span>,</span>i<span>)</span><span>=></span><span>{</span> <span>$</span><span>(</span><span><span>`<span></span><span><span>${</span>w<span>}</span></span><span></span>`</span></span><span>)</span> <span>.</span><span>css</span><span>(</span><span>{</span> <span>"animation-delay"</span><span>:</span> <span>0.05</span><span>*</span>i<span>+</span><span>'s'</span> <span>}</span><span>)</span> <span>.</span><span>appendTo</span><span>(</span><span>$</span><span>(</span><span>".mywords"</span><span>)</span><span>)</span><span>;</span> <span>}</span><span>)</span> <span>}</span><span>)</span> <span><</span><span>/</span>script<span>></span> <span><</span><span>/</span>body<span>></span> <span><</span><span>/</span>html<span>></span> </code></pre> <p><img src="/file/upload/2020/5/2yma2e.gif" class="aligncenter"></p> <pre><code><span><</span><span>!</span><span>DOCTYPE</span> html<span>></span> <span><</span>html lang<span>=</span><span>"en"</span><span>></span> <span><</span>head<span>></span> <span><</span>meta charset<span>=</span><span>"UTF-8"</span><span>></span> <span><</span>meta name<span>=</span><span>"viewport"</span> content<span>=</span><span>"width=device-width, initial-scale=1.0"</span><span>></span> <span><</span>title<span>></span>文字遮罩效果<span><</span><span>/</span>title<span>></span> <span><</span>style<span>></span> <span>*</span> <span>{</span> margin<span>:</span> <span>0</span><span>;</span> padding<span>:</span> <span>0</span><span>;</span> list<span>-</span>style<span>:</span> none<span>;</span> <span>}</span> body <span>{</span> background<span>-</span>color<span>:</span> #<span>0</span>f0f0f<span>;</span> height<span>:</span> <span>100</span>vh<span>;</span> display<span>:</span> flex<span>;</span> justify<span>-</span>content<span>:</span> center<span>;</span> align<span>-</span>items<span>:</span> center<span>;</span> flex<span>-</span>direction<span>:</span> column<span>;</span> <span>}</span> <span>.</span>mywords <span>{</span> color<span>:</span>transparent<span>;</span> font<span>-</span>size<span>:</span> <span>1.5</span>em<span>;</span> line<span>-</span>height<span>:</span> <span>1.8</span>em<span>;</span> position<span>:</span> relative<span>;</span> animation<span>:</span> fontcolor <span>2</span>s <span>1.6</span>s forwards<span>;</span> <span>}</span> @keyframes fontcolor <span>{</span> to<span>{</span> color<span>:</span> #fff<span>;</span> <span>}</span> <span>}</span> <span>.</span>mywords<span>.</span><span>from</span> <span>{</span> margin<span>:</span> <span>1</span>em <span>0</span><span>;</span> <span>}</span> <span>.</span>mywords<span>:</span><span>:</span>before<span>{</span> content<span>:</span> <span>""</span><span>;</span> position<span>:</span> absolute<span>;</span> left<span>:</span> <span>0</span><span>;</span> top<span>:</span><span>0</span><span>;</span> width<span>:</span> <span>100</span><span>%</span><span>;</span> height<span>:</span> <span>100</span><span>%</span><span>;</span> background<span>-</span>color<span>:</span> cyan<span>;</span> transform<span>:</span> <span>scaleX</span><span>(</span><span>0</span><span>)</span><span>;</span> transform<span>-</span>origin<span>:</span>left <span>;</span> animation<span>:</span> move <span>2</span>s cubic<span>-</span><span>bezier</span><span>(</span><span>0.75</span><span>,</span><span>0</span><span>,</span><span>0</span><span>,</span><span>1</span><span>)</span> forwards<span>;</span> <span>}</span> <span>.</span>mywords<span>.</span><span>from</span><span>:</span><span>:</span>before<span>{</span> background<span>-</span>color<span>:</span> orange<span>;</span> animation<span>-</span>delay<span>:</span> <span>2</span>s<span>;</span> <span></span> <span>}</span> <span>.</span>mywords<span>.</span><span>from</span> <span>{</span> animation<span>-</span>delay<span>:</span> <span>3.2</span>s<span>;</span> <span>}</span> @keyframes move <span>{</span> <span>50</span><span>%</span><span>{</span> transform<span>-</span>origin<span>:</span> left<span>;</span> transform<span>:</span> <span>scaleX</span><span>(</span><span>1</span><span>)</span><span>;</span> <span>}</span> <span>50.1</span><span>%</span> <span>{</span> transform<span>-</span>origin<span>:</span> right<span>;</span> <span>}</span> <span>100</span><span>%</span> <span>{</span> transform<span>-</span>origin<span>:</span> right<span>;</span> transform<span>:</span> <span>scaleX</span><span>(</span><span>0</span><span>)</span><span>;</span> <span>}</span> <span>}</span> <span><</span><span>/</span>style<span>></span> <span><</span><span>/</span>head<span>></span> <span><</span>body<span>></span> <span><</span>p <span>class</span><span>=</span><span>"mywords"</span><span>></span>我不知道将去何方,但我已在路上<span><</span><span>/</span>p<span>></span> <span><</span>p <span>class</span><span>=</span><span>"mywords from"</span><span>></span>千与千寻<span><</span><span>/</span>p<span>></span> <span><</span><span>/</span>body<span>></span> <span><</span><span>/</span>html<span>></span> </code></pre> <p><img src="/file/upload/2020/5/A3mAji.gif" class="aligncenter"></p> <pre><code><span><</span><span>!</span><span>DOCTYPE</span> html<span>></span> <span><</span>html lang<span>=</span><span>"en"</span><span>></span> <span><</span>head<span>></span> <span><</span>meta charset<span>=</span><span>"UTF-8"</span><span>></span> <span><</span>meta name<span>=</span><span>"viewport"</span> content<span>=</span><span>"width=device-width, initial-scale=1.0"</span><span>></span> <span><</span>title<span>></span>文字蒙版效果实现<span><</span><span>/</span>title<span>></span> <span><</span>style<span>></span> <span>*</span><span>{</span> margin<span>:</span> <span>0</span><span>;</span> padding<span>:</span> <span>0</span><span>;</span> list<span>-</span>style<span>:</span> none<span>;</span> <span>}</span> body<span>{</span> height<span>:</span> <span>100</span>vh<span>;</span> position<span>:</span> relative<span>;</span> <span>}</span> img<span>,</span>h1<span>{</span> position<span>:</span> absolute<span>;</span> left<span>:</span> <span>0</span><span>;</span> top<span>:</span> <span>0</span><span>;</span> width<span>:</span> <span>100</span><span>%</span><span>;</span> height<span>:</span> <span>100</span><span>%</span><span>;</span> <span>}</span> img<span>{</span> object<span>-</span>fit<span>:</span> cover<span>;</span> <span>}</span> h1<span>{</span> font<span>-</span>size<span>:</span> <span>20</span>vw<span>;</span> text<span>-</span>align<span>:</span> center<span>;</span> line<span>-</span>height<span>:</span> <span>100</span>vh<span>;</span> mix<span>-</span>blend<span>-</span>mode<span>:</span> screen<span>;</span> background<span>-</span>color<span>:</span> #fff<span>;</span> <span>}</span> <span><</span><span>/</span>style<span>></span> <span><</span><span>/</span>head<span>></span> <span><</span>body<span>></span> <span><</span>img src<span>=</span><span>"bg.gif"</span> alt<span>=</span><span>""</span><span>></span> <span><</span>h1<span>></span>花未眠<span><</span><span>/</span>h1<span>></span> <span><</span><span>/</span>body<span>></span> <span><</span><span>/</span>html<span>></span> </code></pre></div> </div> <div class="b20 c_b"> </div> <div class="award"><div onclick="Go('https://www.youqizhuangbei.com/member/award.php?mid=21&itemid=14174');">打赏</div></div> <div class="b20"> </div>  本文转载自:网络 <div class="b20"> 所有权利归属于原作者,如文章来源标示错误或侵犯了您的权利请联系微信13520258486 </div> <div class="b20"> </div> <div class="head-txt"><span><a href="https://www.youqizhuangbei.com/news/wulianwangwenzhang-c111-1.html">更多<i>></i></a></span><strong>最近资讯中心</strong></div> <div class="related"> <table width="100%"> <tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-14173.html" title="勇闯28个关卡学会HTML与HTML5基础|FCC前端教程">• 勇闯28个关卡学会HTML与HTML5基础|FCC前端教程</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-14172.html" title="VSCode的一些小操作(三)——同时更改所有相同的变量名或类名">• VSCode的一些小操作(三)——同时更改所有相同的</a></td> </tr><tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-14171.html" title="你对HTML最最最常用的标签印象深刻吗?(总结HTML中最常用的标签)">• 你对HTML最最最常用的标签印象深刻吗?(总结HT</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-14170.html" title="一段JavaScript代码是如何执行的">• 一段JavaScript代码是如何执行的</a></td> </tr><tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-14169.html" title="vue-quill-editor视频上传,图片上传到服务器模块,用video标签替换iframe">• vue-quill-editor视频上传,图片上传到服务器模</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-14168.html" title="2020大厂前端面试之vue专题(一)">• 2020大厂前端面试之vue专题(一)</a></td> </tr></table> <table width="100%"> <tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35506.html" title="Esp8266天猫精灵_RGB灯_非点灯平台">• Esp8266天猫精灵_RGB灯_非点灯平台</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35505.html" title="STM32F103 串口1和串口3对发数据 配合蓝牙模块 实现手机和单片机的简单通信demo">• STM32F103 串口1和串口3对发数据 配合蓝牙模块 </a></td> </tr><tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35504.html" title="TMS570学习【1】了解什么是TMS570">• TMS570学习【1】了解什么是TMS570</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35503.html" title="新闻稿 | Qt公司收购froglogic公司以巩固市场领导者地位">• 新闻稿 | Qt公司收购froglogic公司以巩固市场领</a></td> </tr><tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35502.html" title="[Java]SpringBoot2整合mqtt服务器EMQ实现消息订阅发布入库(二)">• [Java]SpringBoot2整合mqtt服务器EMQ实现消息订</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35501.html" title="苹果群控投屏同步操作原理及运用的平台APP分享">• 苹果群控投屏同步操作原理及运用的平台APP分享</a></td> </tr></table> </div> <div class="b20"> </div> <div class="head-txt"><span><a href="https://www.youqizhuangbei.com/news/wulianwangwenzhang-c111-1.html">更多<i>></i></a></span><strong>最新资讯中心</strong></div> <div class="related"><table width="100%"> <tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35506.html" title="Esp8266天猫精灵_RGB灯_非点灯平台">• Esp8266天猫精灵_RGB灯_非点灯平台</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35505.html" title="STM32F103 串口1和串口3对发数据 配合蓝牙模块 实现手机和单片机的简单通信demo">• STM32F103 串口1和串口3对发数据 配合蓝牙模块 </a></td> </tr><tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35504.html" title="TMS570学习【1】了解什么是TMS570">• TMS570学习【1】了解什么是TMS570</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35503.html" title="新闻稿 | Qt公司收购froglogic公司以巩固市场领导者地位">• 新闻稿 | Qt公司收购froglogic公司以巩固市场领</a></td> </tr><tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35502.html" title="[Java]SpringBoot2整合mqtt服务器EMQ实现消息订阅发布入库(二)">• [Java]SpringBoot2整合mqtt服务器EMQ实现消息订</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35501.html" title="苹果群控投屏同步操作原理及运用的平台APP分享">• 苹果群控投屏同步操作原理及运用的平台APP分享</a></td> </tr><tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35500.html" title="STM32查询式按键输入[直接用寄存器]">• STM32查询式按键输入[直接用寄存器]</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35499.html" title="Ubuntu系统 USB设备端口绑定">• Ubuntu系统 USB设备端口绑定</a></td> </tr><tr><td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35498.html" title="2021-04-14 第四次 按键输入实验">• 2021-04-14 第四次 按键输入实验</a></td> <td width="50%"><a href="https://www.youqizhuangbei.com/news/show-35497.html" title="Flutter扫码功能完美实现">• Flutter扫码功能完美实现</a></td> </tr></table> </div> <div class="b20"> </div> <div id="comment_div" style="display:;"> <div class="head-txt"><span><a href="https://www.youqizhuangbei.com/comment/index-htm-mid-21-itemid-14174.html"><b id="comment_count" class="px16 f_red">0</b> 条</a></span><strong>相关评论</strong></div> <div class="c_b" id="comment_main"><div></div></div> </div> <script type="text/javascript" src="https://www.youqizhuangbei.com/file/script/comment.js"></script> <br/> </div> <div class="m3r"> <div class="head-sub"><strong>推荐图文</strong></div> <div class="list-thumb"><table width="100%"> </table> </div> <div class="head-sub mt20"><strong>推荐资讯中心</strong></div> <div class="list-txt"><ul> </ul> </div> <div class="head-sub mt20"><strong>点击排行</strong></div> <div class="list-rank"><ul> </ul></div> <div class="head-sub mt20"><strong>最新信息</strong></div> <div class="list-rank"><ul> <li><em>1</em><a href="https://www.youqizhuangbei.com/sell/show-3.html" title="北京傲云欣欣科技公司专业提供中高压变频器维修电气设备维修">北京傲云欣欣科技公司专业提供中高压变频器维修</a></li> <li><em>2</em><a href="https://www.youqizhuangbei.com/sell/show-70.html" title="太原德力西高压变频器维修">太原德力西高压变频器维修</a></li> <li><em>3</em><a href="https://www.youqizhuangbei.com/sell/show-56.html" title="AMB安邦信高压变频器维修中降低设备故障频次的方法">AMB安邦信高压变频器维修中降低设备故障频次的</a></li> <li><i>4</i><a href="https://www.youqizhuangbei.com/sell/show-51.html" title="石家庄高压变频器维修请找北京傲云电气">石家庄高压变频器维修请找北京傲云电气</a></li> <li><i>5</i><a href="https://www.youqizhuangbei.com/sell/show-21.html" title="AMB安邦信高压变频器维修">AMB安邦信高压变频器维修</a></li> <li><i>6</i><a href="https://www.youqizhuangbei.com/sell/show-65.html" title="Samcovm三垦高压变频器维修中一些小技巧">Samcovm三垦高压变频器维修中一些小技巧</a></li> <li><i>7</i><a href="https://www.youqizhuangbei.com/sell/show-64.html" title="ABB传动ACS6000/ACS800维修中的故障分析方法">ABB传动ACS6000/ACS800维修中的故障分析方法</a></li> <li><i>8</i><a href="https://www.youqizhuangbei.com/sell/show-67.html" title="包头石家庄ABB高压变频器维修">包头石家庄ABB高压变频器维修</a></li> <li><i>9</i><a href="https://www.youqizhuangbei.com/sell/show-45.html" title="攀枝花陕西西门子罗宾康高压变频器维修厂家">攀枝花陕西西门子罗宾康高压变频器维修厂家</a></li> </ul></div> </div> </div> <div class="c_b"></div> </div> <script type="text/javascript" src="https://www.youqizhuangbei.com/file/script/content.js"></script><div class="clear"> </div> <div class="other_item"> <div class="copyrightbar"> <div class="wrapper"> <dl class="fore1"> <dt>新手指南</dt> <dd> <div><a rel="nofollow" target="_blank" href="https://www.youqizhuangbei.com/member/register.php">注册新用户</a></div> <div><a rel="nofollow" target="_blank" href="">操作指南</a></div> <div><a rel="nofollow" target="_blank" href="">常见问题</a></div> </dd> </dl> <dl class="fore2"> <dt>采购商服务</dt> <dd> <div><a rel="nofollow" target="_blank" href="https://www.youqizhuangbei.com/sell/">找产品</a></div> <div><a rel="nofollow" target="_blank" href="https://www.youqizhuangbei.com/company/">找公司</a></div> <div><a rel="nofollow" target="_blank" href="">找采购</a></div> <div><a rel="nofollow" target="_blank" href="https://www.youqizhuangbei.com/news/">看资讯</a></div> </dd> </dl> <dl class="fore3"> <dt>供应商服务</dt> <dd> <div><a rel="nofollow" target="_blank" href="https://www.youqizhuangbei.com/member//home.php">企业商铺</a></div> <div><a rel="nofollow" target="_blank" href="https://www.youqizhuangbei.com/member//grade.php">VIP服务</a></div> <div><a rel="nofollow" target="_blank" href="https://www.youqizhuangbei.com/member//validate.php">认证服务</a></div> <div><a rel="nofollow" target="_blank" href="https://www.youqizhuangbei.com/spread/">推广服务</a></div> </dd> </dl> <dl class="fore4"> <dt>交易安全</dt> <dd> <div><a target="_blank" href="">买家防骗</a></div> <div><a target="_blank" href="">卖家防骗</a></div> <div><a rel="nofollow" href="javascript:SendReport();">投诉举报</a></div> </dd> </dl> <dl class="fore5"> <dt>关注我们</dt> <dd> <div>手机网站: <a target="_blank" href="https://www.youqizhuangbei.com/mobile/mobile.php"></a></div> <div>新浪微博: <a target="_blank" href="http://" rel="nofollow"></a></div> <div>微信关注: </div> <div style="margin-top: 5px;"> <a target="_blank" href="//shang.qq.com/wpa/qunwpa?idkey=5fd78221597e88a4af3e2c8512a61d5f1f8dc535171ea7773562452f9042dafd"><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="" title=""></a> </div> </dd> </dl> <div class="hotline"> <p class="phone">13520258486</p> <p><span class="serviceTime-normal" style="">周一至周五 9:00-18:00</span> <br>(其他时间联系在线客服)</p> <a rel="nofollow" class="btn-line-primary" href="https://www.youqizhuangbei.com/about/contact.html" target="_blank">24小时在线客服</a> </div> <span class="clear"></span> </div> <div class="wrapper mt20" id="other_item"> <div id="footer"> <div class="links" style="font-size: 14px;margin-bottom: 10px;"> 产品按字母分类: <span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=a" target="_blank">a</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=b" target="_blank">b</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=c" target="_blank">c</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=d" target="_blank">d</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=e" target="_blank">e</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=f" target="_blank">f</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=g" target="_blank">g</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=h" target="_blank">h</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=i" target="_blank">i</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=j" target="_blank">j</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=k" target="_blank">k</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=l" target="_blank">l</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=m" target="_blank">m</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=n" target="_blank">n</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=o" target="_blank">o</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=p" target="_blank">p</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=q" target="_blank">q</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=r" target="_blank">r</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=s" target="_blank">s</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=t" target="_blank">t</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=u" target="_blank">u</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=v" target="_blank">v</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=w" target="_blank">w</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=x" target="_blank">x</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=y" target="_blank">y</a></span><span style="color: #666;"><a href="https://www.youqizhuangbei.com/sitemap/index.php?mid=5&letter=z" target="_blank">z</a></span> </div> <div class="links"> <a href="https://www.youqizhuangbei.com/about/index.html">关于我们</a> | <a href="https://www.youqizhuangbei.com/about/contact.html">联系方式</a> | <a href="https://www.youqizhuangbei.com/about/agreement.html">使用协议</a> | <a href="https://www.youqizhuangbei.com/about/copyright.html">版权隐私</a> | <a href="https://www.youqizhuangbei.com/sitemap/">网站地图</a> | <a href="https://www.youqizhuangbei.com/spread/">排名推广</a> | <a href="https://www.youqizhuangbei.com/ad/">广告服务</a> | <a href="https://www.youqizhuangbei.com/gift/" target="_blank" rel="nofollow">积分商城</a> | <a href="javascript:SendReport();" rel="nofollow">违规举报</a> </div> <div class="copyright"> <div id="copyright">(c)2008-2023 湖北傲云电气有限公司 All Rights Reserved<script>var _hmt = _hmt || [];(function() {var hm = document.createElement("script");hm.src = "https://hm.baidu.com/hm.js?20195b23529f03df5cb2789a744df859";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s);})();</script></div> <div><a href="http://www.miibeian.gov.cn" target="_blank" rel="nofollow">鄂ICP备2020021666号-11</a></div></div> <div class="authentication"> <div class="authentication_bg"> <a rel="nofollow" target="_blank" class="cert-1" href="#" title="网络警察"></a> <a rel="nofollow" target="_blank" class="cert-2" href="#" title="网警备案"></a> <a rel="nofollow" target="_blank" class="cert-3" href="#" title="网络工商"></a> <a rel="nofollow" target="_blank" class="cert-4" href="#" title="浙江省网站信用联盟"></a> <a rel="nofollow" target="_blank" class="cert-5" href="#" title="可信网站"></a> <a rel="nofollow" target="_blank" class="cert-6" href="/" title="违法和不良信息举报中心"></a> <a rel="nofollow" target="_blank" class="cert-7" href="/" title="违法和不良信息举报中心APP下载"></a> </div> </div> </div> </div> </div> </div> <div class="feedBackWidget"> <div class="ronline"><a href="//wpa.qq.com/msgrd?v=3&uin=&site=qq&menu=yes" target="_blank" title=""></a></div> <div class="rweixin"><a href="javascript:Dqrcode();"></a></div> <div class="feedback"><a href="javascript:SendReport();"></a></div> <div class="back2top" style="display: none;"><a href="javascript:void(0);" title="返回顶部"> </a></div> </div><script type="text/javascript"> //全站悬浮右侧 $('.guess').scrollToFixed({ marginTop: $('.small-goods').outerHeight(true) - 345, limit: function() { var limit = $('.other_item').offset().top ; return limit; }, minWidth: 1000, zIndex: 999, fixed: function() { }, dontCheckForPositionFixedSupport: true }); //右侧到位自动隐藏 function changeScreen() { var itemTop = document.getElementById("other_item").offsetTop; if ($(document).scrollTop() > itemTop - 600) { $(".guess").hide(); } else if ($(window).width() < 1200) { $(".guess").hide(); } else { $(".guess").show(); } } $(window).scroll(function() { changeScreen(); }); $(window).resize(function(e) { changeScreen(); }); </script> <script type="text/javascript" src="https://www.youqizhuangbei.com/skin/st03lanskin/js/myjs.js"></script> <script type="text/javascript" src="https://www.youqizhuangbei.com/skin/st03lanskin/js/topso.js"></script> <script type="text/javascript" src="https://www.youqizhuangbei.com/skin/st03lanskin/js/scrolltofixed.js"></script> <script type="text/javascript"> </script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?d7f1c93b824c5ee2887566c40d0984af"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body> </html>