Double swipe button

Developer
Size
2,024 Kb
Views
12,144

How do I make an double swipe button?

What is a double swipe button? How do you make a double swipe button? This script and codes were developed by Richard on 16 January 2023, Monday.

Double swipe button Previews

Double swipe button - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>double swipe button</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="centerer"> <div class="wrap"> <a class="btn-1-2" href="#">Double Swipe</a> </div>
</div>
</body>
</html>

Double swipe button - Script Codes CSS Codes

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400|Raleway:300);
html { padding-top: 50px; font-family: 'Open Sans', Helvetica, arial, sans-serif; text-align: center; background-color: #eeeeee;
}
html *,
html *:before,
html *:after { box-sizing: border-box; -webkit-transition: 0.5s ease-in-out; transition: 0.5s ease-in-out;
}
html i, html em,
html b, html strong,
html span { -webkit-transition: none; transition: none;
}
*:before,
*:after { z-index: -1;
}
a { text-decoration: none; line-height: 80px; color: black;
}
.centerer { width: 100%; max-width: 600px; margin: 0 auto; padding: 0 1rem;
}
@media (min-width: 600px) { .wrap { width: 50%; float: left; }
}
[class^="btn-"] { position: relative; display: block; overflow: hidden; width: 100%; height: 80px; max-width: 250px; margin: 1rem auto; text-transform: uppercase; border: 1px solid currentColor;
}
.btn-1-2 { color: #2b5577;
}
.btn-1-2:before, .btn-1-2:after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-bottom: 80px solid #042139;
}
.btn-1-2:before { right: -50px; border-right: 50px solid transparent; -webkit-transform: translateX(-100%); transform: translateX(-100%);
}
.btn-1-2:after { left: -50px; border-left: 50px solid transparent; -webkit-transform: translateX(100%); transform: translateX(100%);
}
.btn-1-2:hover { color: #c1cdd7;
}
.btn-1-2:hover:before { -webkit-transform: translateX(-40%); transform: translateX(-40%);
}
.btn-1-2:hover:after { -webkit-transform: translateX(40%); transform: translateX(40%);
}
Double swipe button - Script Codes
Double swipe button - Script Codes
Home Page Home
Developer Richard
Username keyboarddesk
Uploaded January 16, 2023
Rating 3
Size 2,024 Kb
Views 12,144
Do you need developer help for Double swipe button?

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!

Richard (keyboarddesk) Script Codes
Create amazing web content 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!