fit-text helper now triggers lazyily when slide enters view distance
This commit is contained in:
parent
f231c53b9c
commit
aa6677911c
6 changed files with 24 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue