Hi again. Another great example of targeting Notion elements to get a desired result.
Have your h1, h2 or h3 slide in from the left or right. An awesome feature to add to your website to enhance the look and feel of it. You can play around with it how ever much you like. 😊
In the code below I targeted an h1 (title of the page) for the animation but you can also target an h2 or h3. Just right click on the text in chrome and hit inspect element. It will show you what type of element it is.
<style > @keyframes slideInFromLeft { 0% { transform: translateX(-100%); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } } .notion-h1{ animation: 0.5s ease-out 0s 1 slideInFromLeft; } </style>