Line 1,328: | Line 1,328: | ||
+ | #pagination { | ||
+ | position: fixed; | ||
+ | top: 50%; | ||
+ | transform: translateY(-50%); | ||
+ | right: 30px; | ||
+ | list-style: none; | ||
− | + | li { | |
− | + | position: relative; | |
− | + | margin: 20px 0; | |
− | + | background: #fff; | |
− | background: | + | border-radius: 100%; |
width: 8px; | width: 8px; | ||
height: 8px; | height: 8px; | ||
− | + | transition: all .2s ease; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | &:hover { | ||
+ | transform: scale(1.5); | ||
+ | } | ||
+ | } | ||
− | + | #pagination a { | |
− | + | position: absolute; | |
− | + | text-decoration: none; | |
− | + | left: 0; | |
− | + | top: 0; | |
+ | color: inherit; | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | } | ||
+ | } | ||
− | |||
</style> | </style> | ||
</html> | </html> |
Revision as of 09:57, 17 October 2018