Apple promotion banner
How do I make an apple promotion banner?
What is a apple promotion banner? How do you make a apple promotion banner? This script and codes were developed by Jonathan Salazar on 15 December 2022, Thursday.
Apple promotion banner - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>apple promotion banner</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <ul class="promotion"> <li> <a href="https://www.apple.com/osx/preview/"><span>OS X Yosemite</span><span>Every bit as power as it looks.</span></a> </li> <li> <a href="https://www.apple.com/mac-pro/"><span>Mac Pro</span><span>Built for creativity on an epic scale.</span></a> </li> <li> <a href="https://www.apple.com/U2/"><span>The new album from U2 is here.</span><span>And it's already in your iTunes music library.</span></a> </li>
</ul>
</body>
</html>
Apple promotion banner - Script Codes CSS Codes
* { margin: 0; padding: 0; box-sizing: border-box;
}
ul.promotion { display: block; width: 100%; height: 220px; border: 1px solid black; text-align: center;
}
ul.promotion li { display: inline-block; width: 32%; height: 100%; vertical-align: top; margin-left: -4px;
}
ul.promotion li span { display: block;
}
ul.promotion li:nth-of-type(1) { font-size: 20px;
}
ul.promotion li:nth-of-type(2) { font-size: 20px;
}
ul.promotion li:nth-of-type(3) { font-size: 20px;
}
ul.promotion li a { /* make a tag as block to control size */ display: block; /* make a tag size to be the same as its parent li tag */ width: 100%; height: 100%; /* set background image in the center */ background-repeat: no-repeat; background-position: center; /* remove underline */ text-decoration: none; border: 1px solid green;
}
/* set different background images */
ul.promotion li:nth-of-type(1) a { background-image: url("https://images.apple.com/mac/home/images/promo_yosemite_large.jpg");
}
ul.promotion li:nth-of-type(2) a { background-image: url("https://images.apple.com/mac/home/images/promo_macpro_large.jpg");
}
ul.promotion li:nth-of-type(3) a { background-image: url("https://images.apple.com/v/U2/shared/promo/a/images/promo_u2_large.jpg");
}
Developer | Jonathan Salazar |
Username | jds317 |
Uploaded | December 15, 2022 |
Rating | 3 |
Size | 1,966 Kb |
Views | 16,192 |
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 |
Apple cover | 1,660 Kb |
Soccer stop product page | 108,463 Kb |
Soccer stop | 1,160 Kb |
Div flow | 1,837 Kb |
Apple header | 3,101 Kb |
List style | 1,444 Kb |
Soccer stop contact us | 34,010 Kb |
Near complete midterm | 2,095 Kb |
Apple hw part 1 | 1,698 Kb |
Midterm dry run | 1,649 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 |
Ball bouncing loading animation | Adam2326 | 3,144 Kb |
CSS Grid Test | Ajaykarwal | 2,377 Kb |
Css3 slide | Nakome | 3,190 Kb |
A Pen by Oliver Schafeld | Schafeld | 1,720 Kb |
Blog Concept - Single Post | Marionebl | 9,603 Kb |
Gears | Synvox | 3,278 Kb |
Commuter Line Tokyu 8500 | Pedox | 7,031 Kb |
Next Word Predictor | Rfalor | 2,776 Kb |
Responsive Minimal Blog Layout | Hackthevoid | 5,261 Kb |
Rotating Preloader with Anime.js | Tamashi | 2,450 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!