天蓬老师2017-04-17 12:00:02
假設這個p id是a
#a {
width: 100px;
height: 300px;
background: radial-gradient(circle at top left,
transparent 8px, #e6e4b7 0) top left,
radial-gradient(circle at top right,
transparent 8px, #e6e4b7 0) top right,
radial-gradient(circle at bottom right,
transparent 8px, #e6e4b7 0) bottom right,
radial-gradient(circle at bottom left,
transparent 8px, #e6e4b7 0) bottom left;
background-size: 50% 50%;
background-repeat: no-repeat;
}
具體參數自己調一下