object(mysqli_result)#13 (5) { ["current_field"]=> int(0) ["field_count"]=> int(25) ["lengths"]=> NULL ["num_rows"]=> int(1) ["type"]=> int(0) } CSS圓角 - 程序員論壇 - Powered by Discuz!

程序員論壇

標題: CSS圓角 [打印本頁]

作者: GreenCup    時間: 2020-3-13 11:09
標題: CSS圓角
CSS Rounded Corners
CSS圓角

With the CSS border-radius property, you can give any element "rounded corners".
使用CSS border-radius屬性,可以給任何元素“圓角”。
  1. #rcorners1 {
  2.   border-radius: 25px;
  3.   background: #73AD21;
  4.   padding: 20px;
  5.   width: 200px;
  6.   height: 150px;
  7. }

  8. #rcorners2 {
  9.   border-radius: 25px;
  10.   border: 2px solid #73AD21;
  11.   padding: 20px;
  12.   width: 200px;
  13.   height: 150px;
  14. }

  15. #rcorners3 {
  16.   border-radius: 25px;
  17.   background: url(paper.gif);
  18.   background-position: left top;
  19.   background-repeat: repeat;
  20.   padding: 20px;
  21.   width: 200px;
  22.   height: 150px;
  23. }
複製代碼





歡迎光臨 程序員論壇 (http://program.thesmartfire.com/) Powered by Discuz! X2.5