1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 17:11:48 +02:00

Add transition to Pagination buttons just like other Bootstrap buttons

This commit is contained in:
Samarth Arora
2020-08-02 01:16:47 +05:30
committed by Mark Otto
parent 393efaf795
commit 5512dde203
2 changed files with 6 additions and 0 deletions

View File

@@ -10,6 +10,7 @@
text-decoration: if($link-decoration == none, null, none);
background-color: $pagination-bg;
border: $pagination-border-width solid $pagination-border-color;
@include transition($pagination-transition);
&:hover {
z-index: 2;
@@ -21,6 +22,8 @@
&:focus {
z-index: 3;
color: $pagination-focus-color;
background-color: $pagination-focus-bg;
outline: $pagination-focus-outline;
box-shadow: $pagination-focus-box-shadow;
}