How do I make an arrow shaped button with css?

yotube
0

Issue

I want to make a button that looks something like the image below, left and right, but all I achieved was a simple triangle pointing the directions. Can someone help me?

image of arrow mentioned on the text


Solution

first html code And after css code



.click{
padding: 10px;
border: solid black;
border-width: 0 3px 3px 0;
display: inline-block;
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
}

<!DOCTYPE html>
<html>
<head>
</head>
<body>
<a href="Your link for after click">
<button class="click"> </button>
</a>
</body>
</html>





Answered By - user19806930
Tags

Post a Comment

0Comments
Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !
To Top