下拉框美化

This commit is contained in:
landaiqing 2023-05-01 23:46:02 +08:00
parent c0705df1f3
commit f6fd6f22a2
2 changed files with 13 additions and 2 deletions

View File

@ -2,6 +2,17 @@ form {
text-align: center; text-align: center;
} }
select { /* select {
width: 150px; width: 150px;
} */
select {
background: #fafdfe;
height: 28px;
width: 180px;
line-height: 28px;
border: 1px solid #9bc0dd;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
} }

View File

@ -12,7 +12,7 @@
</head> </head>
<body> <body>
<div> <div class="select">
<form> <form>
省份: 省份:
<select name="province" id="province"> <select name="province" id="province">