| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674 |
- /**/
- :root {
- position: relative;
- font-size: 1px;
- }
- header,
- footer,
- div,
- p,
- ul,
- li,
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- display: block;
- }
- div,
- p,
- ul,
- li,
- h1,
- h2,
- h3,
- h4,
- h5,
- h6,
- label {
- padding: 0;
- margin: 0;
- }
- .scrollbar-hidden ::-webkit-scrollbar {
- display: none;
- }
- .scrollbar-hidden ::-moz-scrollbar {
- display: none;
- }
- .scrollbar-hidden ::-ms-scrollbar {
- display: none;
- }
- .scrollbar-hidden ::-o-scrollbar {
- display: none;
- }
- * {
- padding: 0;
- margin: 0;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- -ms-box-sizing: border-box;
- -o-box-sizing: border-box;
- box-sizing: border-box;
- border: 0;
- outline: 0;
- font-size: 100%;
- vertical-align: baseline;
- background: transparent;
- outline-style: none;
- }
- *::before {
- box-sizing: border-box;
- }
- html {
- width: 100%;
- }
- body {
- font-size: 14px;
- color: #333;
- position: relative;
- line-height: 1;
- font-family: Verdana, Arial, Helvetica, sans-serif;
- }
- ol,
- ul,
- li {
- list-style: none;
- }
- a,
- a:hover,
- a:focus {
- color: inherit;
- text-decoration: none;
- outline-style: none;
- /*FF*/
- }
- /*css为clearfix,清除浮动*/
- .clearfix {
- /* zoom: 1; */
- /*IE/7/6*/
- zoom: 1;
- /*IE/7/6*/
- }
- .clearfix::before,
- .clearfix::after {
- content: "";
- height: 0;
- line-height: 0;
- display: block;
- visibility: hidden;
- clear: both;
- }
- .clearfix:after {
- content: "";
- height: 0;
- line-height: 0;
- display: block;
- visibility: hidden;
- clear: both;
- }
- .clearfix:after {
- clear: both;
- }
- img {
- z-index: 0;
- }
- /*文本对齐*/
- .ta_right {
- text-align: right;
- }
- .ta_center {
- text-align: center;
- }
- .ta_justify {
- text-align: justify;
- }
- /*隐藏*/
- .hide {
- display: none !important;
- }
- /*字颜色*/
- .icon {
- font-size: inherit;
- }
- .fc_3 {
- color: #333;
- }
- .fc_6 {
- color: #666;
- }
- .fc_9 {
- color: #999;
- }
- /*背景*/
- .bg_fff {
- background-color: #fff;
- }
- /*移动*/
- .late_xy {
- -webkit-transform: translate(-50%, -50%);
- -moz-transform: translate(-50%, -50%);
- -o-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
- }
- .late_x {
- -webkit-transform: translateX(-50%);
- -moz-transform: translateX(-50%);
- -o-transform: translateX(-50%);
- -ms-transform: translateX(-50%);
- transform: translateX(-50%);
- }
- .late_y {
- -webkit-transform: translateY(-50%);
- -moz-transform: translateY(-50%);
- -o-transform: translateY(-50%);
- -ms-transform: translateY(-50%);
- transform: translateY(-50%);
- }
- /*定位*/
- .abs {
- position: absolute;
- }
- .rel {
- position: relative;
- }
- .fixed {
- position: fixed;
- }
- /*垂直居中*/
- .abs_xy {
- position: absolute;
- top: 50%;
- left: 50%;
- -webkit-transform: translate(-50%, -50%);
- -moz-transform: translate(-50%, -50%);
- -o-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
- }
- .fiexd_xy {
- position: fixed;
- top: 50%;
- left: 50%;
- -webkit-transform: translate(-50%, -50%);
- -moz-transform: translate(-50%, -50%);
- -o-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
- }
- .abs_x {
- position: absolute;
- left: 50%;
- -webkit-transform: translate(-50%, 0%);
- -moz-transform: translate(-50%, 0%);
- -o-transform: translate(-50%, 0%);
- -ms-transform: translate(-50%, 0%);
- transform: translate(-50%, 0%);
- }
- .abs_y {
- position: absolute;
- top: 50%;
- -webkit-transform: translate(0%, -50%);
- -moz-transform: translate(0%, -50%);
- -o-transform: translate(0%, -50%);
- -ms-transform: translate(0%, -50%);
- transform: translate(0%, -50%);
- }
- .fixed_x {
- position: fixed;
- left: 50%;
- -webkit-transform: translate(-50%, 0%);
- -moz-transform: translate(-50%, 0%);
- -o-transform: translate(-50%, 0%);
- -ms-transform: translate(-50%, 0%);
- transform: translate(-50%, 0%);
- }
- .fixed_y {
- position: fixed;
- top: 50%;
- -webkit-transform: translate(0%, -50%);
- -moz-transform: translate(0%, -50%);
- -o-transform: translate(0%, -50%);
- -ms-transform: translate(0%, -50%);
- transform: translate(0%, -50%);
- }
- .abs_center {
- position: absolute;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- margin: auto;
- }
- .fixed_center {
- position: fixed;
- left: 0;
- right: 0;
- top: 0;
- bottom: 0;
- margin: auto;
- }
- /*行省略*/
- /*-webkit-,-moz-,-o-,-ms-*/
- .line_one {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .line_1 {
- display: -webkit-box;
- display: -moz-box;
- display: -ms-box;
- display: -o-box;
- -webkit-box-orient: vertical;
- -moz-box-orient: vertical;
- -ms-box-orient: vertical;
- -o-box-orient: vertical;
- box-orient: vertical;
- -webkit-line-clamp: 1;
- -moz-line-clamp: 1;
- -ms-line-clamp: 1;
- -o-line-clamp: 1;
- line-clamp: 1;
- overflow: hidden;
- }
- .line_2 {
- display: -webkit-box;
- display: -moz-box;
- display: -ms-box;
- display: -o-box;
- -webkit-box-orient: vertical;
- -moz-box-orient: vertical;
- -ms-box-orient: vertical;
- -o-box-orient: vertical;
- box-orient: vertical;
- -webkit-line-clamp: 2;
- -moz-line-clamp: 2;
- -ms-line-clamp: 2;
- -o-line-clamp: 2;
- line-clamp: 2;
- overflow: hidden;
- }
- .line_3 {
- display: -webkit-box;
- display: -moz-box;
- display: -ms-box;
- display: -o-box;
- -webkit-box-orient: vertical;
- -moz-box-orient: vertical;
- -ms-box-orient: vertical;
- -o-box-orient: vertical;
- box-orient: vertical;
- -webkit-line-clamp: 3;
- -moz-line-clamp: 3;
- -ms-line-clamp: 3;
- -o-line-clamp: 3;
- line-clamp: 3;
- overflow: hidden;
- }
- .line_4 {
- display: -webkit-box;
- display: -moz-box;
- display: -ms-box;
- display: -o-box;
- -webkit-box-orient: vertical;
- -moz-box-orient: vertical;
- -ms-box-orient: vertical;
- -o-box-orient: vertical;
- box-orient: vertical;
- -webkit-line-clamp: 4;
- -moz-line-clamp: 4;
- -ms-line-clamp: 4;
- -o-line-clamp: 4;
- line-clamp: 4;
- overflow: hidden;
- }
- .line_5 {
- display: -webkit-box;
- display: -moz-box;
- display: -ms-box;
- display: -o-box;
- -webkit-box-orient: vertical;
- -moz-box-orient: vertical;
- -ms-box-orient: vertical;
- -o-box-orient: vertical;
- box-orient: vertical;
- -webkit-line-clamp: 5;
- -moz-line-clamp: 5;
- -ms-line-clamp: 5;
- -o-line-clamp: 5;
- line-clamp: 5;
- overflow: hidden;
- }
- /*block*/
- .block {
- display: block;
- }
- .inblock {
- display: inline-block;
- }
- /*Flexible Box*/
- .flex {
- display: -webkit-box;
- display: -webkit-flex;
- display: -moz-box;
- display: -ms-flexbox;
- display: flex;
- }
- .inflex {
- display: inline-box !important;
- display: -webkit-inline-box !important;
- display: -webkit-inline-flex !important;
- display: -moz-box !important;
- display: -ms-inline-flexbox !important;
- display: inline-flex !important;
- }
- /*单轴*/
- .ai_center {
- -webkit-align-items: center;
- -moz-align-items: center;
- -ms-align-items: center;
- -o-align-items: center;
- align-items: center;
- }
- .ai_start {
- /*默认*/
- -webkit-align-items: flex-start;
- -moz-align-items: flex-start;
- -ms-align-items: flex-start;
- -o-align-items: flex-start;
- align-items: flex-start;
- }
- .ai_end {
- -webkit-align-items: flex-end;
- -moz-align-items: flex-end;
- -ms-align-items: flex-end;
- -o-align-items: flex-end;
- align-items: flex-end;
- }
- .ai_base {
- -webkit-align-items: baseline;
- -moz-align-items: baseline;
- -ms-align-items: baseline;
- -o-align-items: baseline;
- align-items: baseline;
- }
- .ai_stretch {
- -webkit-align-items: stretch;
- -moz-align-items: stretch;
- -ms-align-items: stretch;
- -o-align-items: stretch;
- align-items: stretch;
- }
- /*左右对齐*/
- .jc_center {
- -webkit-justify-content: center;
- -moz-justify-content: center;
- -ms-justify-content: center;
- -o-justify-content: center;
- justify-content: center;
- }
- .jc_between {
- -webkit-justify-content: space-between;
- -moz-justify-content: space-between;
- -ms-justify-content: space-between;
- -o-justify-content: space-between;
- justify-content: space-between;
- }
- .jc_around {
- -webkit-justify-content: space-around;
- -moz-justify-content: space-around;
- -ms-justify-content: space-around;
- -o-justify-content: space-around;
- justify-content: space-around;
- }
- .jc_end {
- -webkit-justify-content: flex-end;
- -moz-justify-content: flex-end;
- -ms-justify-content: flex-end;
- -o-justify-content: flex-end;
- justify-content: flex-end;
- }
- /*换行方式*/
- .fw_no {
- -webkit-flex-wrap: nowrap;
- -moz-flex-wrap: nowrap;
- -ms-flex-wrap: nowrap;
- -o-flex-wrap: nowrap;
- flex-wrap: nowrap;
- }
- .fw_wrap {
- -webkit-flex-wrap: wrap;
- -moz-flex-wrap: wrap;
- -ms-flex-wrap: wrap;
- -o-flex-wrap: wrap;
- flex-wrap: wrap;
- }
- .fw_reverse {
- -webkit-flex-wrap: wrap-reverse;
- -moz-flex-wrap: wrap-reverse;
- -ms-flex-wrap: wrap-reverse;
- -o-flex-wrap: wrap-reverse;
- flex-wrap: wrap-reverse;
- }
- /*多轴 上中下对齐方式*/
- .ac_center {
- -webkit-align-content: center;
- -moz-align-content: center;
- -ms-align-content: center;
- -o-align-content: center;
- align-content: center;
- }
- .ac_start {
- -webkit-align-content: flex-start;
- -moz-align-content: flex-start;
- -ms-align-content: flex-start;
- -o-align-content: flex-start;
- align-content: flex-start;
- }
- .ac_end {
- -webkit-align-content: flex-end;
- -moz-align-content: flex-end;
- -ms-align-content: flex-end;
- -o-align-content: flex-end;
- align-content: flex-end;
- }
- .ac_between {
- -webkit-align-content: space-between;
- -moz-align-content: space-between;
- -ms-align-content: space-between;
- -o-align-content: space-between;
- align-content: space-between;
- }
- .ac_around {
- -webkit-align-content: space-around;
- -moz-align-content: space-around;
- -ms-align-content: space-around;
- -o-align-content: space-around;
- align-content: space-around;
- }
- .ac_stretch {
- -webkit-align-content: stretch;
- -moz-align-content: stretch;
- -ms-align-content: stretch;
- -o-align-content: stretch;
- align-content: stretch;
- }
- /*主轴的方向*/
- .fd_r {
- -webkit-flex-direction: row;
- -moz-flex-direction: row;
- -ms-flex-direction: row;
- -o-flex-direction: row;
- flex-direction: row;
- }
- .fd_rr {
- -webkit-flex-direction: row-reverse;
- -moz-flex-direction: row-reverse;
- -ms-flex-direction: row-reverse;
- -o-flex-direction: row-reverse;
- flex-direction: row-reverse;
- }
- .fd_c {
- -webkit-flex-direction: column;
- -moz-flex-direction: column;
- -ms-flex-direction: column;
- -o-flex-direction: column;
- flex-direction: column;
- }
- .fd_cr {
- -webkit-flex-direction: column-reverse;
- -moz-flex-direction: column-reverse;
- -ms-flex-direction: column-reverse;
- -o-flex-direction: column-reverse;
- flex-direction: column-reverse;
- }
- /*项目属性*/
- .flex1 {
- -prefix-box-flex: 1;
- -webkit-box-flex: 1;
- -webkit-flex: 1;
- -moz-box-flex: 1;
- -ms-flex: 1;
- flex: 1;
- }
- .flex2 {
- -prefix-box-flex: 2;
- -webkit-box-flex: 2;
- -webkit-flex: 2;
- -moz-box-flex: 2;
- -ms-flex: 2;
- flex: 2;
- }
- .as_auto {
- -webkit-align-self: auto;
- -moz-align-self: auto;
- -ms-align-self: auto;
- -o-align-self: auto;
- align-self: auto;
- }
- .as_center {
- -webkit-align-self: center;
- -moz-align-self: center;
- -ms-align-self: center;
- -o-align-self: center;
- align-self: center;
- }
- .as_start {
- -webkit-align-self: flex-start;
- -moz-align-self: flex-start;
- -ms-align-self: flex-start;
- -o-align-self: flex-start;
- align-self: flex-start;
- }
- .as_end {
- -webkit-align-self: flex-end;
- -moz-align-self: flex-end;
- -ms-align-self: flex-end;
- -o-align-self: flex-end;
- align-self: flex-end;
- }
- .as_base {
- -webkit-align-self: baseline;
- -moz-align-self: baseline;
- -ms-align-self: baseline;
- -o-align-self: baseline;
- align-self: baseline;
- }
- .as_stretch {
- -webkit-align-self: stretch;
- -moz-align-self: stretch;
- -ms-align-self: stretch;
- -o-align-self: stretch;
- align-self: stretch;;
- }
- /* 是否允许子元素伸缩 */
- .flex-item {
- flex-grow: 1;;
- }
- /* 子元素的显示次序 */
- .flex-order {
- order: 1;;
- }
- /**/
|