A11y Product Tile
How do I make an a11y product tile?
What is a a11y product tile? How do you make a a11y product tile? This script and codes were developed by Kendrick Arnett on 05 November 2022, Saturday.
A11y Product Tile - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>a11y Product Tile</title> <style>
@import 'https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600';
body { font-family: 'Open Sans';
}
</style> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='css/rlgxqp.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<ul class="tiles"> <li class="tile"><a class="tile-product-link" href="http://www.pier1.com/chas-blue-%26-white-seersucker-armchair/2443389.html" aria-label="Chas Blue & White Seersucker Armchair. From $299.99. 4.9 stars, 12 ratings. This product is: New, Clearance."><img class="tile-image" src="http://images.pier1.com/dis/dw/image/v2/AAID_PRD/on/demandware.static/-/Sites-pier1_master/default/dwb3143d96/images/2443389/2443389_1.jpg?sw=200&sh=200" alt=" "/> <div class="tile-text"> <div class="tile-stickers"> <div class="tile-sticker">new </div> <div class="tile-sticker">clearance</div> </div> <div class="tile-product-link tile-product-name"><span class="tile-collection-name">Chas</span> Blue & White Seersucker Armchair</div> <div class="tile-price">from $299.99</div> <div class="tile-rnr"> <div class="tile-stars" aria-label="4.9 stars">⭐️⭐️⭐️⭐️⭐️</div> <div class="tile-ratings" aria-label="12 ratings">(12)</div> </div> <button class="tile-add-to-cart" aria-label="Add Blue & White Seersucker Armchair to basket">Add to Basket</button> </div></a></li> <li class="tile"><a class="tile-product-link" href="http://www.pier1.com/colette-silver-sage-crushed-velvet-armchair/2987352.html" aria-label="Colette Silver Sage Crushed Velvet Armchair. $549.95. 4.1 stars, 5 ratings. This product is: New"><img class="tile-image" src="http://images.pier1.com/dis/dw/image/v2/AAID_PRD/on/demandware.static/-/Sites-pier1_master/default/dw87841b5e/images/2987352/2987352_10A.jpg?sw=200&sh=200" alt=" "/> <div class="tile-text"> <div class="tile-stickers"> <div class="tile-sticker">new </div> </div> <div class="tile-product-link tile-product-name"><span class="tile-collection-name">Colette</span> Silver Sage Crushed Velvet Armchair</div> <div class="tile-price">$549.95</div> <div class="tile-rnr"> <div class="tile-stars" aria-label="4.7 stars">⭐️⭐️⭐️⭐️</div> <div class="tile-ratings" aria-label="20 ratings">(20)</div> </div> <button class="tile-add-to-cart" aria-label="Add Blue & White Seersucker Armchair to basket">Add to Basket</button> </div></a></li> <li class="tile"><a class="tile-product-link" href="http://www.pier1.com/eliza-cream-upholstered-armchair/3103071.html" aria-label="Eliza Cream Upholstered Armchair. $549.95. 4.9 stars, 12 ratings. This product is: New"><img class="tile-image" src="http://images.pier1.com/dis/dw/image/v2/AAID_PRD/on/demandware.static/-/Sites-pier1_master/default/dw02ab62c4/images/3103071/3103071_1.jpg?sw=200&sh=200" alt=" "/> <div class="tile-text"> <div class="tile-stickers"> <div class="tile-sticker">new </div> </div> <div class="tile-product-link tile-product-name"><span class="tile-collection-name">Eliza</span> Cream Upholstered Armchair</div> <div class="tile-price">$549.95</div> <div class="tile-rnr"> <div class="tile-stars" aria-label="4.9 stars">⭐️⭐️⭐️⭐️</div> <div class="tile-ratings" aria-label="12 ratings">(5)</div> </div> <button class="tile-add-to-cart" aria-label="Add Blue & White Seersucker Armchair to basket">Add to Basket</button> </div></a></li>
</ul>
</body>
</html>
A11y Product Tile - Script Codes CSS Codes
body,
html { height: 100%;
}
:focus { outline: thin dotted;
}
body { font-family: 'Open Sans'; display: -webkit-box; display: -ms-flexbox; display: flex; background: #faf9f9; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
}
.tiles { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
}
.tile-product-link { color: #555; text-decoration: none;
}
.tile { background: white; margin: 1rem; width: 200px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 0px 8px rgba(0, 0, 0, 0.1); display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column;
}
.tile .tile-image { display: block; margin-bottom: 0.25rem;
}
.tile .tile-text { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; padding: 0.5rem;
}
.tile .tile-collection-name { display: block; font-size: 0.75rem; line-height: 1.5;
}
.tile .tile-product-name { display: block;
}
.tile .tile-product-price { -ms-flex-item-align: end; align-self: flex-end;
}
.tile .tile-sticker { display: inline-block; text-transform: uppercase; font-size: 0.66rem; line-height: 1; background: #efefef; padding: 0.2rem; vertical-align: middle;
}
.tile .tile-stars,
.tile .tile-ratings { display: inline-block;
}
.tile .tile-add-to-cart { font-family: Open Sans; margin: 0.5rem 0.25rem 0.25rem 0.25rem; padding: 0.25rem; border: 0; background: #fffefe; color: #1492d9; box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
}
.tile .visually-hidden { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); padding: 0 !important; border: 0 !important; height: 1px !important; width: 1px !important; overflow: hidden;
}
Developer | Kendrick Arnett |
Username | kendrick |
Uploaded | November 05, 2022 |
Rating | 3 |
Size | 4,484 Kb |
Views | 26,312 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Duotone Fixed Backgrounds | 7,732 Kb |
Linkish Buttons | 2,357 Kb |
SVG Social Icons | 4,587 Kb |
Postfix Badge Button | 2,345 Kb |
Chunky Toggles | 2,821 Kb |
Flexbox Resume Challenge | 10,625 Kb |
SVG Button | 2,210 Kb |
Pulse for Skeleton Screens | 2,233 Kb |
Lazy Image Loading via ScrollMagic | 4,812 Kb |
A Pen by Kendrick Arnett | 2,047 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Social Profiles | Lachlanjc | 1,939 Kb |
Svg penguin | _massimo | 2,990 Kb |
TheCalendar.js | The-teacher | 6,330 Kb |
Hamburger Menu Animation | Salmanraza | 2,580 Kb |
Flip test | Madhes | 1,635 Kb |
Portfolio Layout Flex | Lahvjal | 3,489 Kb |
Under construction | GhostRider | 1,642 Kb |
Out of the blue | Giaco | 2,537 Kb |
React Markdown Previewer | C0d0er | 3,190 Kb |
Pictos font library from CodePen | Jstam | 3,790 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!