border-radius
div.semi-circle{? ????height:50px; ????width:100px; ????background:#9da; ????border-radius:50px?; ????} ???求問border-radius中50px的意思; ???div.semi-circle{? ????height:50px; ????width:100px; ????background:#9da; ????border-radius:50px?50px?0px?0px; ????} ???不懂兩個(gè)border-radius代表的意思,求指點(diǎn)
2016-09-03
border-radius:單個(gè)值是表示四個(gè)角都圓50px,?border-radius:50px?50px?0px?0px;表示左上角 右上角分別是50px 右下角 左下角 分別是0px
2016-09-03
第一個(gè)border-radius設(shè)置為50px代表你這個(gè)盒子的四個(gè)角都為圓角50px,
第二個(gè)則表示上右下左的順序,意思就是左上角和右上角的border-radius為50px