怎么实现十字架....

来源:1-6 编程练习

rickleong

2017-08-01 13:48:14

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
<title>Document</title>
<style>
div{
  /*此处写代码*/
  width:200px;
  height:200px;
  background:red;
  
  margin:100px 100px;
  outline:80px dotted #fff;
  outline-offset:-60px;

}
</style>
</head>
<body>
<div></div>
</body>
</html>

用dotted也不行...

写回答

1回答

樱桃小胖子

2017-08-01

浏览器存在一定的差异性,因此理解其中的实现思路即可~

0
hickleong
h 非常感谢!
h017-08-02
共3条回复

0 学习 · 5012 问题

查看课程