176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.
HTML ai-promptsanimationcss-animationsfrontendgithub-pagesjavascriptmicrointeractionsmotion-designno-dependenciesreferencescroll-animationui-animationweb-animationweb-developmentwebgl
fix: phone cards keep their description to two lines
matin1a13ba507a1a
diff --git a/index.html b/index.htmlindex 2ba547eb..6f68e1a2 100644--- a/index.html+++ b/index.html@@ -306,8 +306,8 @@ button,input{font:inherit;color:inherit}.tag{left:6px;top:6px;max-width:calc(100% - 12px);padding:3px 8px;font-size:11px}.meta{padding:10px 6px 4px}.title{font-size:15px}- .desc{margin-top:4px;font-size:13px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}- .acts{margin-top:10px}+ .desc{flex:none;margin-top:4px;font-size:13px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}+ .acts{margin-top:auto;padding-top:10px} /* the description keeps to its two lines however tall its row, and the buttons go to the foot of the card, so they line up across the row */.copy{width:100%;justify-content:center;padding:0 8px;font-size:13px}.try{display:none}.how-head{margin-bottom:20px}