分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 网页技术

css边框5

发布时间:2023-09-06 02:31责任编辑:蔡小小关键词:暂无标签
 ???<meta charset="UTF-8"> ???????<title>练习五</title> ???????<style type="text/css"> ???????????*{ ???????????margin: 0px; ???????????padding: 0px; ???????????} ???????????body{ ???????????????????background: #FF0000; ???????????????} ???????????.box1{ ???????????????width: 600px; ???????????????height: 600px; ???????????????background: #000000; ???????????????border-radius: 600px; ???????????????margin: 0px auto; ???????????} ???????????.box2{ ???????????????width: 600px; ???????????????height: 300px; ???????????????background: #E0FFFF; ???????????????border-radius: 600px 600px 0px 0px; ???????????} ???????????.box3{ ???????????????width: 300px; ???????????????height: 150px; ???????????????background: black; ???????????????border-radius:300px 300px 0px 0px; ???????????????margin-top:-150px; ???????????} ???????????.box4{ ???????????????width: 300px; ???????????????height: 150px; ???????????????background: white; ???????????????border-radius:0px 0px 300px 300px; ???????????????margin-left: 300px; ???????????} ???????????.box5{ ???????????????width: 100px; ???????????????height: 100px; ???????????????background: white; ???????????????border-radius: 50px; ???????????????margin-left: 100px; ???????????????margin-top: -200px; ???????????} ???????????.box6{ ???????????????width: 100px; ???????????????height: 100px; ???????????????background: black; ???????????????border-radius: 50px; ???????????????margin-left: 400px; ???????????????margin-top: -100px; ???????????} ???????</style> ???</head> ???<body> ???????????<div class="box1"> ???????????<div class="box2"></div> ???????????<div class="box3"></div> ???????????<div class="box4"></div> ???????????<div class="box5"></div> ???????????<div class="box6"></div> ???</body></html>

css边框5

原文地址:https://www.cnblogs.com/wwwljcom/p/10316017.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved