- margin: auto;
- display: flex;
小物件的css
margin: auto;
就可以達到小物件的置中了
方法一:用iframe放入要植入的網頁
方法二:function放入
input[type=text]:focus,input[type=password]:focus,textarea:focus{
transition:border linear .
2
s,box-shadow linear .
5
s;
-moz-transition:border linear .
2
s,-moz-box-shadow linear .
5
s;
-webkit-transition:border linear .
2
s,-webkit-box-shadow linear .
5
s;
outline
:
none
;
border-color
:rgba(
241
,
39
,
242
,.
75
);
box-shadow:
0
0
8px
rgba(
241
,
39
,
232
,.
5
);
-moz-box-shadow:
0
0
8px
rgba(
241
,
39
,
232
,.
5
);
-webkit-box-shadow:
0
0
8px
rgba(
241
,
39
,
232
,
3
);
}
大物件的css margin : auto ; display : flex ; 小物件的css margin : auto ; 就可以達到小物件的置中了