fit-text helper now triggers lazyily when slide enters view distance
This commit is contained in:
1 parent
f231c53b9c
commit
aa6677911c
6 files changed
+24
-14
No files matched your search
@@ -16,6 +16,12 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
// Text that auto-fits it's container
|
||||
.reveal .r-fit-text {
|
||||
display: inline-block; // https://github.com/rikschennink/fitty#performance
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
// Stack multiple elements on top of each other
|
||||
.reveal .r-stack {
|
||||
display: grid;
|
||||
|
||||
Reference in new issue
Block a user