Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .nw {
- width:51px;
- height:457px;
- position:absolute;
- bottom:0;
- left:-75px;
- cursor:pointer;
- }
- .game {
- position:relative;
- overflow:visible;
- }
- .nw .countdown-section {
- width:31px;
- height:28px;
- line-height:28px;
- position:absolute;
- left:10px;
- text-align:center;
- color:#fff;
- font-size:17px;
- z-index:30;
- }
- .nw .countdown-section:nth-child(1) {
- top:56px;
- }
- .nw .countdown-section:nth-child(2) {
- top:101px;
- }
- .nw .countdown-section:nth-child(3) {
- top:146px;
- }
- .nw-hover {
- width:100%;
- height:100%;
- position:absolute;
- top:0;
- left:0;
- z-index:10;
- opacity:0;
- }
- .nw-hover:hover {
- opacity:1;
- }
- ------
- $('#tm').countdown({
- until: '+3h',
- format: 'hms',
- significant: 3,
- padZeroes: true
- });
- ------
- <div class="nw" style="background:url(images/nw.png) no-repeat 0 0;">
- <div class="nw-timer" id="tm"></div>
- <a href="#" class="nw-hover" style="background:url(images/nw.png) no-repeat 0 bottom;"></a>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement