Border box arrow
How do I make an border box arrow?
What is a border box arrow? How do you make a border box arrow? This script and codes were developed by Adem Ilter on 11 June 2022, Saturday.
Border box arrow - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>border box arrow</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='https://s3-us-west-2.amazonaws.com/s.cdpn.io/3561/formalize.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="box" data-box-arrow="top"> Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
</div>
<div class="box" data-box-arrow="right"> Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
</div>
<div class="box" data-box-arrow="bottom"> Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
</div>
<div class="box" data-box-arrow="left"> Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.
</div>
</body>
</html>
Border box arrow - Script Codes CSS Codes
.box { display: inline-block; margin: 40px; position: relative; width: 230px; padding: 20px; -webkit-filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)); border-radius: 3px; background-color: #fff; border: 1px solid #bbb;
}
.box[data-box-arrow]:before, .box[data-box-arrow]:after { content: ""; position: absolute; border-style: solid; border-width: 10px; border-color: transparent;
}
.box[data-box-arrow="top"]:before, .box[data-box-arrow="top"]:after { bottom: 100%; left: 10px;
}
.box[data-box-arrow="top"]:before { border-bottom-color: #bbb;
}
.box[data-box-arrow="top"]:after { border-bottom-color: #fff; margin-bottom: -1px;
}
.box[data-box-arrow="right"]:before, .box[data-box-arrow="right"]:after { left: 100%; top: 10px;
}
.box[data-box-arrow="right"]:before { border-left-color: #bbb;
}
.box[data-box-arrow="right"]:after { border-left-color: #fff; margin-left: -1px;
}
.box[data-box-arrow="bottom"]:before, .box[data-box-arrow="bottom"]:after { top: 100%; left: 10px;
}
.box[data-box-arrow="bottom"]:before { border-top-color: #bbb;
}
.box[data-box-arrow="bottom"]:after { border-top-color: #fff; margin-top: -1px;
}
.box[data-box-arrow="left"]:before, .box[data-box-arrow="left"]:after { right: 100%; top: 10px;
}
.box[data-box-arrow="left"]:before { border-right-color: #bbb;
}
.box[data-box-arrow="left"]:after { border-right-color: #fff; margin-right: -1px;
}
body { background-color: #eee;
}
Developer | Adem Ilter |
Username | ademilter |
Uploaded | June 11, 2022 |
Rating | 4 |
Size | 2,700 Kb |
Views | 58,696 |
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 |
404 No signal | 3,590 Kb |
Interacthings logo animation | 2,841 Kb |
Prayer times layout | 5,245 Kb |
Lunar eclipse | 2,056 Kb |
A Pen by Adem ilter | 3,546 Kb |
Loading svg | 2,319 Kb |
Timeline with css | 2,817 Kb |
Navigation Knob | 3,385 Kb |
Fluid width step-navigation | 1,918 Kb |
Fake loading | 1,952 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 |
Out of the blue | Giaco | 2,537 Kb |
AngularJS Datalist Directive | M-e-conroy | 2,366 Kb |
SVG email test v2.0 | M_J_Robbins | 2,090 Kb |
Flip test | Madhes | 1,635 Kb |
FCC Portfolio | Cmwebby | 4,304 Kb |
A Pen by Alexandru Pora | Axpro | 1,615 Kb |
Testing Portfolio Page | Sideshowli | 3,395 Kb |
Fading gradient button | Insprd | 1,713 Kb |
Amazing CSS Menu with Notification Badges | Faizanasad | 2,549 Kb |
My three.js practice | Esambino | 3,203 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!