div四个角有边框

复制代码
width: '23%',
height: '78px',
flex: 1,
minWidth: '23%',
maxWidth: '23%', 
marginBottom: '10px',
marginRight: '5px',
color: '#10c6cb',
textAlign: 'center',
padding: '10px',
background: `linear-gradient(#3edfeb, #3edfeb) left top,
                      linear-gradient(#3edfeb, #3edfeb) left top,
                      linear-gradient(#3edfeb, #3edfeb) right top,
                      linear-gradient(#3edfeb, #3edfeb) right top,
                      linear-gradient(#3edfeb, #3edfeb) left bottom,
                      linear-gradient(#3edfeb, #3edfeb) left bottom,
                      linear-gradient(#3edfeb, #3edfeb) right bottom,
                      linear-gradient(#3edfeb, #3edfeb) right bottom`,
                      backgroundColor: '#101c37',
                      backgroundRepeat: 'no-repeat',
                      backgroundSize: '0.1vw 0.5vw, 0.5vw 0.1vw'                
复制代码

 

posted @   zhaoyzml  阅读(400)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示