HTML
<section class="demo-section">
<div class="demo-arrow-container">
<div class="demo-arrow">▲</div>
</div>
<div class="demo-content">Lorem Ipsum</div>
</section>
CSS
.demo-section {
margin: 2em 0;
}
.demo-arrow-container {
position: relative;
display: flex;
flex-direction: row;
justify-content: center
}
.demo-arrow {
position: absolute;
top: -35px;
font-size: 40px;
color: #000000;
}
.demo-content {
background: #000;
color: #FFFFFF;
padding: 1em;
border-radius: 6px;
}
Explanation
In HTML, you can represent characters using their Unicode code point in hexadecimal form with the &#x; syntax. For example, the upward triangle symbol (▲) can be represented as ▲
.
Char | Decimal | Hexadecimal |
---|---|---|
â–² | 9650 | 25B2 |
â–³ | 9651 | 25B3 |
â–´ | 9652 | 25B4 |
â–µ | 9653 | 25B5 |
â–¶ | 9654 | 25B6 |
â–· | 9655 | 25B7 |
â–¸ | 9656 | 25B8 |
â–¹ | 9657 | 25B9 |
â–º | 9658 | 25BA |
â–» | 9659 | 25BB |
â–¼ | 9660 | 25BC |
â–½ | 9661 | 25BD |
â–¾ | 9662 | 25BE |
â–¿ | 9663 | 25BF |
â—€ | 9664 | 25C0 |
â— | 9665 | 25C1 |
â—‚ | 9666 | 25C2 |
â—ƒ | 9667 | 25C3 |
â—„ | 9668 | 25C4 |
â—… | 9669 | 25C5 |
â—¢ | 9698 | 25E2 |
â—£ | 9699 | 25E3 |
â—¤ | 9700 | 25E4 |
â—¥ | 9701 | 25E5 |
â—¸ | 9720 | 25F8 |
â—¹ | 9721 | 25F9 |
â—º | 9722 | 25FA |
â—¿ | 9727 | 25FF |
🞀 | 128896 | 1F780 |
🞠| 128897 | 1F781 |
🞂 | 128898 | 1F782 |
🞃 | 128899 | 1F783 |
Arrow at the bottom
Arrow at the bottom with a utf-8 character
Arrow at the top of a container
Aside
Background color
Blackboard design
Breadcrumbs design
Calendar design
Checkboxes as circular buttons
Checkboxes as toggle switches
Cursor properties
Circular image with a shadow effect
Font Awesome pulled icons
Gallery picture frame with a price ribbon
Google pie chart
Google web fonts
Last child and not last child element
Letter spacing
List items with a Font Awesome icon
Neon text
Neon text with a flickering effect
Notebook paper background
Radio buttons as circular buttons
Radio buttons as rating stars
Remove the glow effect from an input field
Search bar with categories
Track (audio/video subtitles)
Web fonts
Whiteboard design