Image Markers
How do I make an image markers?
As long as you wrap your image in the '.avatar' class (which could be an anchor link or any other container element), these image markers are pretty flexible. Image size doesn't matter.. What is a image markers? How do you make a image markers? This script and codes were developed by Mike Fowler on 22 August 2022, Monday.
Image Markers - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Image Markers</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ .avatar { display: inline-block; position: relative;
}
.avatar img { box-shadow: 0 0 0 5px white, 0 3px 5px 4px rgba(0, 0, 0, 0.1);
}
.avatar::after { content: ''; position: absolute; top: 100%; left: 50%; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 12.6px solid white; margin-left: -7px; -webkit-filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.1));
}
.avatar_rect img { border-radius: 10px;
}
.avatar_round img { border-radius: 50%;
}
/* Presentation */
html, body { background: #ddd;
}
body { padding-top: 40px;
}
.container { width: 607px; margin: 0 auto; position: relative;
}
.avatar { position: absolute; top: 1000px;
}
.avatar:nth-child(1) { top: 58px; left: 44px;
}
.avatar:nth-child(2) { top: 0; left: 198px;
}
.avatar:nth-child(3) { left: 376px; top: 37px;
}
.avatar:nth-child(4) { left: 0; top: 215px;
}
.avatar:nth-child(5) { left: 180px; top: 150px;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="container"> <div class="avatar avatar_rect"> <img src="http://placehold.it/74x102" alt="" /> </div> <div class="avatar avatar_round"> <img src="http://placehold.it/90x90" alt="" /> </div> <div class="avatar avatar_round"> <img src="http://placehold.it/140x140" alt="" /> </div> <div class="avatar avatar_round"> <img src="http://placehold.it/90x90" alt="" /> </div> <div class="avatar avatar_rect"> <img src="http://placehold.it/140x140" alt="" /> </div>
</div>
</body>
</html>
Image Markers - Script Codes CSS Codes
.avatar { display: inline-block; position: relative;
}
.avatar img { box-shadow: 0 0 0 5px white, 0 3px 5px 4px rgba(0, 0, 0, 0.1);
}
.avatar::after { content: ''; position: absolute; top: 100%; left: 50%; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 12.6px solid white; margin-left: -7px; -webkit-filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.1));
}
.avatar_rect img { border-radius: 10px;
}
.avatar_round img { border-radius: 50%;
}
/* Presentation */
html, body { background: #ddd;
}
body { padding-top: 40px;
}
.container { width: 607px; margin: 0 auto; position: relative;
}
.avatar { position: absolute; top: 1000px;
}
.avatar:nth-child(1) { top: 58px; left: 44px;
}
.avatar:nth-child(2) { top: 0; left: 198px;
}
.avatar:nth-child(3) { left: 376px; top: 37px;
}
.avatar:nth-child(4) { left: 0; top: 215px;
}
.avatar:nth-child(5) { left: 180px; top: 150px;
}
Developer | Mike Fowler |
Username | mikefowler |
Uploaded | August 22, 2022 |
Rating | 3.5 |
Size | 3,194 Kb |
Views | 50,600 |
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 |
A Pen by Mike Fowler | 3,067 Kb |
Nickname generator | 7,313 Kb |
Mixtape | 3,691 Kb |
Map Locator Marker | 4,026 Kb |
IOS7 Geolocation Map Marker | 4,359 Kb |
Coverflow Animation | 2,864 Kb |
Navigation Indicator | 3,472 Kb |
Page Transitions in Backbone | 3,691 Kb |
Rounded Avatar | 3,263 Kb |
Coverflow | 3,581 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 |
Cofee and sugar | Tripack | 2,094 Kb |
Contact | GanNichiHa | 2,514 Kb |
Pure CSS read more toggle | Idered | 2,344 Kb |
Calculator - codevember 08 - 2016 | Caiocares | 3,260 Kb |
Lightrays v2 | Sinthetyc | 2,903 Kb |
Parallax with only CSS | Thulioph | 2,297 Kb |
IbrahimJabbari-Effect14 | Ibrahimjabbari | 1,919 Kb |
A Pen by Sooba | Sooba | 2,516 Kb |
Portfolio Page | KaylaMT | 1,983 Kb |
UI Challenge - Budget Selector | AgentRR007 | 3,547 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!