HTML调整矩形框的大小、居中、圆角、边框

来源:互联网 发布:tensorflow models 编辑:程序博客网 时间:2024/06/03 07:53
  /*调整矩形框的大小、居中、颜色*/        height: 30%;        width: 40%;        margin: auto;        margin-top: 15%;        color: #2ca02c;        text-align: center;        background-color: #76deff;        /*让边框变成圆角*/        -moz-border-radius: 10px;        -webkit-border-radius: 10px;        border-radius: 10px;        /*给边框添加阴影样式*/        box-shadow: 2px 4px 20px #000;

原创粉丝点击