forked from jd-opensource/nutui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'v2-dev' of https://github.com/jdf2e/nutui into v2-dev
- Loading branch information
Showing
4 changed files
with
304 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,59 @@ | ||
.nut-countup{ | ||
display:inline-block; | ||
width: 100%; | ||
padding:5px; | ||
color: #000; | ||
font-weight:bold; | ||
// text-align:center; | ||
.run-number{ | ||
margin: 0 auto; | ||
padding: 0; | ||
overflow: hidden; | ||
height: 50px; | ||
line-height: 50px; | ||
text-align: center; | ||
font-weight: bold; | ||
position: relative; | ||
li { | ||
position: absolute; | ||
transition: none; | ||
// transition: all linear .1s; | ||
// animation: myMove 1s linear infinite; | ||
// animation-fill-mode: forwards; | ||
// @keyframes myMove { | ||
// 0% { | ||
// transform: translateY(0); | ||
// } | ||
// 100% { | ||
// transform: translateY(-50px); | ||
// } | ||
// } | ||
span { | ||
display: block; | ||
} | ||
} | ||
} | ||
.pointstyl { | ||
position: absolute; | ||
.nut-countup { | ||
display: inline-block; | ||
width: 100%; | ||
padding: 5px; | ||
color: #000; | ||
font-weight: bold; | ||
// text-align:center; | ||
.run-number { | ||
margin: 0 auto; | ||
padding: 0; | ||
overflow: hidden; | ||
height: 50px; | ||
line-height: 50px; | ||
text-align: center; | ||
font-weight: bold; | ||
position: relative; | ||
li { | ||
position: absolute; | ||
transition: none; | ||
// transition: all linear .1s; | ||
// animation: myMove 1s linear infinite; | ||
// animation-fill-mode: forwards; | ||
// @keyframes myMove { | ||
// 0% { | ||
// transform: translateY(0); | ||
// } | ||
// 100% { | ||
// transform: translateY(-50px); | ||
// } | ||
// } | ||
span { | ||
display: block; | ||
} | ||
} | ||
} | ||
.pointstyl { | ||
position: absolute; | ||
display: block; | ||
} | ||
.run-number-machine-img { | ||
overflow: hidden; | ||
li { | ||
float: left; | ||
background-position: center 0; | ||
background-repeat: repeat-y; | ||
background-attachment: scroll; | ||
} | ||
.run-number-img { | ||
position: relative; | ||
li { | ||
position: absolute; | ||
transition: none; | ||
display: inline-block; | ||
background-position: 0 0; | ||
background-repeat: no-repeat; | ||
} | ||
} | ||
.run-number-img { | ||
position: relative; | ||
li { | ||
position: absolute; | ||
transition: none; | ||
display: inline-block; | ||
background-position: 0 0; | ||
background-repeat: no-repeat; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.