mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-24 19:32:07 +00:00
Only show table progress on browsers that supports it (#99)
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
/* Hide it on browsers (firefox / safari) that do not support it */
|
||||
.progressOpacitySharp {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@supports (animation-timeline: scroll()) {
|
||||
.progressContainer {
|
||||
scroll-timeline-name: --squareTimeline;
|
||||
@@ -13,6 +18,7 @@
|
||||
}
|
||||
|
||||
.progressOpacitySharp {
|
||||
display: grid;
|
||||
opacity: 0;
|
||||
animation-name: opacityProgressSharp;
|
||||
animation-duration: 1ms;
|
||||
|
||||
Reference in New Issue
Block a user