select跳转当前页
onchange="location.href=this.options[this.selectedIndex].value
在不知道父级宽度情况下 左右垂直
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
position: relative;
设置父级 使上下左右居中
display: flex;
justify-content: center;
align-items: center;
垂直居中靠右
flex: 1;display: flex;
text-align: right;
align-items: center;
justify-content: center;
实现单行多行文本同时居中(子级不能同时用浮动)
display: table;
box-sizing: border-box;
display: table-cell;
vertical-align: middle;
写死的实现前后上下左右居中
line-height:32px;
hieght:32px;
text-align:center;