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 |
Soccer stop contact us | 34,010 Kb |
Apple hw part 2 | 1,925 Kb |
Apple cover | 1,660 Kb |
Soccer stop home page | 19,485 Kb |
Apple website | 1,835 Kb |
Near complete midterm | 2,095 Kb |
Soccer stop | 1,160 Kb |
Selectable list | 1,495 Kb |
Vertical-align | 1,703 Kb |
Apple complete page | 5,082 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 |
Mobile first social buttons with no iframe | Alistairtweedie | 3,158 Kb |
Mosaic transition effect between two photos using jQuery | Stathisg | 2,518 Kb |
Pricing Table | Semenchenko | 6,784 Kb |
Web Spiral - p5.js | TWAIN | 2,183 Kb |
A Pen by Andrea Verlicchi | Verlok | 2,018 Kb |
SlideDown FixedMenu | Mp_graphic | 5,602 Kb |
Email Marketing Mock | Kristenzirkler | 8,224 Kb |
A Pen by Mohomed Anees | Mohomedanees | 12,597 Kb |
CSS3 Form | Tusharbandal | 1,836 Kb |
SlideupBoxes | Gavra | 23,772 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!