useMatcher
identifies an animated element throughout addition and removal from the DOM, not unlikekey
in React —probably needs a better name!- zombie elements are elements that will be removed after their exist animation plays. Implementation
use:*
is a custom directive that can attach multiple directives (effects, signals) to a single element after render, before addition to DOM implementation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Learn more about agentQL at AgentQL.com | |
const { wrap, configure } = require('agentql'); | |
const { chromium } = require('playwright'); | |
# Learn more about Zenrows browser API at https://docs.zenrows.com/scraping-browser/get-started/playwright | |
const connectionURL = 'wss://browser.zenrows.com?apikey=' + process.env.ZENROWS_API_KEY; | |
// Set the URL to the desired website | |
const URL = 'https://www.etsy.com/uk/search?q=gift&anchor_listing_id=1807561558&mosv=ssos&moci=1299343889674&mosi=1299363012586&is_merch_library=true&max=30'; |
Want to learn more about web animation and motion design? You came to the right place!
You should also check out my slides and articles at RachelNabors.com. There's great stuff in there!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// All the little mixins that will go into one BIG mixin. | |
// Hey, might need them! | |
@mixin set-dimensions($width, $height, $parent-width) { | |
@include background-size(100% auto); | |
width: percentage($width/$parent-width); | |
padding-top: percentage($height/$parent-width); | |
height: 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (documents.length > 0) | |
{ | |
var docRef = activeDocument; | |
var activeLayer = docRef.activeLayer; | |
numLayers = docRef.artLayers.length; | |
var rows = numLayers; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Hello!</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="foreground"></div> | |
<div class="midground"> | |
<div class="tuna"></div> | |
</div> | |
<div class="background"> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="tuna"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="tuna"></div> | |
<p>Awwww yeah...</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media screen { | |
/* Contain floats: h5bp.com/q */ | |
.clearfix:before, .clearfix:after { content: ""; display: table; } | |
.clearfix:after { clear: both; } | |
.clearfix { *zoom: 1; } | |
/* For image replacement */ | |
.ir { | |
text-indent: 100%; | |
white-space: nowrap; |
NewerOlder