mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 15:07:13 +08:00
Simple pager for slider, needs styles
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
.slide-box {
|
||||
background-color: #000;
|
||||
position: relative;
|
||||
// Make sure items don't scroll over ever
|
||||
overflow: hidden;
|
||||
}
|
||||
@ -23,3 +25,25 @@
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.slide-box-pager {
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
||||
> * {
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
margin: 0px 5px;
|
||||
color: #fff;
|
||||
|
||||
opacity: 0.5;
|
||||
|
||||
|
||||
&.active {
|
||||
-webkit-transition: opacity 0.4s ease-in;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user