A Pen by Hong

Developer
Size
1,874 Kb
Views
12,144

How do I make an a pen by hong?

What is a a pen by hong? How do you make a a pen by hong? This script and codes were developed by Hong on 21 October 2022, Friday.

A Pen by Hong Previews

A Pen by Hong - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>A Pen by Hong</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <iframe id="frame" src="https://s.codepen.io/designbuildshipsoftware/debug/dMXpbZ">
</iframe>
<div class="arrow-up"></div>
<br>
<div class="arrow-down"></div>
<div class="arrow-left"></div>
<div class="arrow-right"></div>
</body>
</html>

A Pen by Hong - Script Codes CSS Codes

#frame { width: 800px; height: 520px; border: none; -moz-transform: scale(0.2); -moz-transform-origin: 0 0; -o-transform: scale(0.2); -o-transform-origin: 0 0; -webkit-transform: scale(0.2); -webkit-transform-origin: 0 0;
}
/* The idea is a box with zero width and height. The actual width and height of the arrow is determined by the width of the border. In an up arrow, for example, the bottom border is colored while the left and right are transparent, which forms the triangle.*/
/* For an equilateral triangle it's worth pointing out that the height is 86.6% of the width so (border-left-width + border-right-width) * 0.866% = border-bottom-width */
.arrow-up { width: 0; height: 0; border-left: 25px solid transparent; border-right: 25px solid transparent; border-top: 25px solid red; border-bottom: 25px solid black;
}
.arrow-down { width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-top: 20px solid red;
}
.arrow-right { width: 0; height: 0; border-top: 60px solid transparent; border-bottom: 60px solid transparent; border-left: 60px solid green;
}
.arrow-left { width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-right:10px solid blue;
}
A Pen by Hong - Script Codes
A Pen by Hong - Script Codes
Home Page Home
Developer Hong
Username designbuildshipsoftware
Uploaded October 21, 2022
Rating 3
Size 1,874 Kb
Views 12,144
Do you need developer help for A Pen by Hong?

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!

Hong (designbuildshipsoftware) Script Codes
Create amazing blog posts with AI!

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!