| 123456789101112131415161718192021222324252627282930313233343536 |
- $primary :#2168fe !default;
- $info : #ffce30 !default;
- $color-active :red;
- $color:#000 !default;
- html,body{
- font-size: 12px;
- }
- .z-drop-tigger{
- position: relative;
- &:hover .z-drop-box{
- display: block;
- }
- .z-drop-box{
- position: absolute;
- left: 0;
- top: 0;
- display: none;
- padding: 10px;
- line-height: 1.3;
- color:$color;
- min-width: 100%;
- box-shadow: 0 2px 4px rgba(0,0,0,.12);
- border: 1px solid #d2d2d2;
- background-color: #fff;
- z-index: 100;
- border-radius: 2px;
- white-space: nowrap;
- }
- }
- .test-box{
- position: fixed;
- top: 50%;
- left: 50%;
- z-index: 999999;
- }
|