博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
js切换背景颜色
阅读量:5064 次
发布时间:2019-06-12

本文共 3461 字,大约阅读时间需要 11 分钟。

  

第二部分:css

@charset "utf-8";/* change the color of background */.graydient1{/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#fce6bc+0,f8a500+42,f8a500+51,f8a500+61,fbd893+100 */background: #fce6bc; /* Old browsers */background: -moz-linear-gradient(top, #fce6bc 0%, #f8a500 42%, #f8a500 51%, #f8a500 61%, #fbd893 100%); /* FF3.6-15 */background: -webkit-linear-gradient(top, #fce6bc 0%,#f8a500 42%,#f8a500 51%,#f8a500 61%,#fbd893 100%); /* Chrome10-25,Safari5.1-6 */background: linear-gradient(to bottom, #fce6bc 0%,#f8a500 42%,#f8a500 51%,#f8a500 61%,#fbd893 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fce6bc', endColorstr='#fbd893',GradientType=0 ); /* IE6-9 */}.graydient2{/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#8e8e8e+0,8e8e8e+28,0c0c0c+45,010101+50,0a0a0a+59,4a4a4a+76,353535+87,1a1a1a+100 */background: #8e8e8e; /* Old browsers */background: -moz-linear-gradient(top, #8e8e8e 0%, #8e8e8e 28%, #0c0c0c 45%, #010101 50%, #0a0a0a 59%, #4a4a4a 76%, #353535 87%, #1a1a1a 100%); /* FF3.6-15 */background: -webkit-linear-gradient(top, #8e8e8e 0%,#8e8e8e 28%,#0c0c0c 45%,#010101 50%,#0a0a0a 59%,#4a4a4a 76%,#353535 87%,#1a1a1a 100%); /* Chrome10-25,Safari5.1-6 */background: linear-gradient(to bottom, #8e8e8e 0%,#8e8e8e 28%,#0c0c0c 45%,#010101 50%,#0a0a0a 59%,#4a4a4a 76%,#353535 87%,#1a1a1a 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8e8e8e', endColorstr='#1a1a1a',GradientType=0 ); /* IE6-9 */}.graydient3{/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#cfe0e9+0,aacede+17,61acc7+35,3a9cc2+52,42b6d6+59,4cd8f0+71,3aa5c2+84,26688c+100 */background: #cfe0e9; /* Old browsers */background: -moz-linear-gradient(top, #cfe0e9 0%, #aacede 17%, #61acc7 35%, #3a9cc2 52%, #42b6d6 59%, #4cd8f0 71%, #3aa5c2 84%, #26688c 100%); /* FF3.6-15 */background: -webkit-linear-gradient(top, #cfe0e9 0%,#aacede 17%,#61acc7 35%,#3a9cc2 52%,#42b6d6 59%,#4cd8f0 71%,#3aa5c2 84%,#26688c 100%); /* Chrome10-25,Safari5.1-6 */background: linear-gradient(to bottom, #cfe0e9 0%,#aacede 17%,#61acc7 35%,#3a9cc2 52%,#42b6d6 59%,#4cd8f0 71%,#3aa5c2 84%,#26688c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cfe0e9', endColorstr='#26688c',GradientType=0 ); /* IE6-9 */}.graydient4{/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ebeded+1,ebeded+12,d2d3da+28,afb1bf+49,d3d6db+77,ebeded+100 */background: #ebeded; /* Old browsers */background: -moz-linear-gradient(top, #ebeded 1%, #ebeded 12%, #d2d3da 28%, #afb1bf 49%, #d3d6db 77%, #ebeded 100%); /* FF3.6-15 */background: -webkit-linear-gradient(top, #ebeded 1%,#ebeded 12%,#d2d3da 28%,#afb1bf 49%,#d3d6db 77%,#ebeded 100%); /* Chrome10-25,Safari5.1-6 */background: linear-gradient(to bottom, #ebeded 1%,#ebeded 12%,#d2d3da 28%,#afb1bf 49%,#d3d6db 77%,#ebeded 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebeded', endColorstr='#ebeded',GradientType=0 ); /* IE6-9 */}

  

转载于:https://www.cnblogs.com/empist/p/9115153.html

你可能感兴趣的文章
node.js初识06
查看>>
CSS之box-sizing的用处简单介绍
查看>>
2038: [2009国家集训队]小Z的袜子(hose)
查看>>
Des 加密 界面
查看>>
Angular指令一
查看>>
Struts2初步认识
查看>>
第二轮冲刺-Runner站立会议03
查看>>
VC++6.0不兼容win10导致调试按钮不能正常作用得解决方案
查看>>
[测试题]等效集合
查看>>
[STM32F1] 【转】STM32驱动MPU6050
查看>>
上传本地文件到github
查看>>
Linux(CentOS)下设置nginx开机自动启动(2个办法)
查看>>
【题解】 Luogu P1541 乌龟棋总结 (动态规划)
查看>>
分布式与并行计算
查看>>
[Algo][July][Notes+Homework]并查集的应用
查看>>
hadoop rpc principle
查看>>
Welcome to Swift (苹果官方Swift文档初译与注解十二)---77~83页(第二章)
查看>>
puts()用法
查看>>
数论概论——第六章
查看>>
[BZOJ 3944]Sum
查看>>