首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >专栏 >css3颜色渐变_灰色渐变图片

css3颜色渐变_灰色渐变图片

作者头像
全栈程序员站长
发布2022-11-17 15:59:40
发布2022-11-17 15:59:40
2.8K0
举报

大家好,又见面了,我是你们的朋友全栈君。

Document

*{margin:0;padding:0}.words{font-size:25px;font-weight:700;text-align:center;margin:20px 0}div{width:300px;height:150px;margin:0 auto 10px;border:1px solid #ddd;

}.box1{background:-webkit-linear-gradient(left, transparent, #000 55%);background:-o-linear-gradient(right, transparent, #000 55%);background:-moz-linear-gradient(right, transparent, #000 55%);background:linear-gradient(to right, transparent, #000 55%);

}.box2{background:linear-gradient(to bottom, rgb(255, 255, 255), #fff0d5);background:-o-linear-gradient(to bottom, rgb(255, 255, 255), #fff0d5);background:-ms-linear-gradient(to bottom, rgb(255, 255, 255), #fff0d5);background:-moz-linear-gradient(to bottom, rgb(255, 255, 255), #fff0d5);background:-webkit-linear-gradient(to bottom, rgb(255, 255, 255), #fff0d5);

}.box3{background:-webkit-linear-gradient(top, rgb(106, 106, 106) 0%, rgb(80, 80, 80) 50%, #393939 50%, #7e7e7e);background:-moz-linear-gradient(top, rgb(106, 106, 106) 0%, rgb(80, 80, 80) 50%, #393939 50%, #7e7e7e);background:-o-linear-gradient(top, rgb(106, 106, 106) 0%, rgb(80, 80, 80) 50%, #393939 50%, #7e7e7e);background:-ms-linear-gradient(top, rgb(106, 106, 106) 0%, rgb(80, 80, 80) 50%, #393939 50%, #7e7e7e);background:linear-gradient(top, rgb(106, 106, 106) 0%, rgb(80, 80, 80) 50%, #393939 50%, #7e7e7e);

}.box4{background:-webkit-linear-gradient(top, rgba(200, 200, 200, 0.5) 0%, rgba(200, 200, 200, 0.5) 50%, #222 50%, #222);background:-moz-linear-gradient(top, rgba(200, 200, 200, 0.5) 0%, rgba(200, 200, 200, 0.5) 50%, #222 50%, #222);background:-o-linear-gradient(top, rgba(200, 200, 200, 0.5) 0%, rgba(200, 200, 200, 0.5) 50%, #222 50%, #222);background:-ms-linear-gradient(top, rgba(200, 200, 200, 0.5) 0%, rgba(200, 200, 200, 0.5) 50%, #222 50%, #222);background:linear-gradient(top, rgba(200, 200, 200, 0.5) 0%, rgba(200, 200, 200, 0.5) 50%, #222 50%, #222);

}

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/213553.html原文链接:https://javaforall.cn

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2022年10月26日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档