Some fun button effects
How do I make an some fun button effects?
What is a some fun button effects? How do you make a some fun button effects? This script and codes were developed by Kevin on 12 August 2022, Friday.
Some fun button effects - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Some fun button effects</title> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container"> <h1>Some fun buttons</h1> <h2>Growing background</h2> <div class="col"> <a class="button button-one">Button One</a> </div> <div class="col"> <a class="button button-two">Button Two</a> </div> <div class="col"> <a class="button button-three">Button Three</a> </div> <h2>Outline effects</h2> <div class="col"> <a class="button button-four">Button Four</a> </div> <div class="col"> <a class="button button-five">Button Five</a> </div> <div class="col"> <a class="button button-six">Button Six</a> </div> <h2>Random stuff</h2> <div class="col"> <a class="button button-seven">Button Seven</a> </div> <div class="col"> <a class="button button-eight">Button Eight</a> </div> <div class="col"> <a class="button button-nine">Button Nine</a> </div>
</div>
</body>
</html>
Some fun button effects - Script Codes CSS Codes
@import url("https://fonts.googleapis.com/css?family=Work+Sans:300");
*, ::before, ::after { box-sizing: border-box; -webkit-transition: all ease-in-out 250ms; transition: all ease-in-out 250ms;
}
body { text-align: center; padding-top: 1em; font-family: "Work Sans", sans-serif; font-weight: 300;
}
h1, h2 { -webkit-box-flex: 1; -ms-flex: 1 100%; flex: 1 100%;
}
h1 { font-size: 3rem; color: #2463f4; margin-bottom: 0.5em;
}
h2 { font-size: 1.5rem; margin: 2.5em 0 0.5em; color: #555;
}
.container { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-flow: row wrap; flex-flow: row wrap; margin: 0 auto; max-width: 1200px; box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15); padding: 2em;
}
.col { -webkit-box-flex: 1; -ms-flex: 1 30%; flex: 1 30%; margin: 1em 0;
}
.button { display: inline-block; font-size: 1.15rem; padding: 0.8em 2.75em; position: relative; z-index: 1;
}
.button-one { border: 1px solid #75c4c0; color: #75c4c0;
}
.button-one::after { content: ""; display: block; position: absolute; top: 0; bottom: 0; left: 0; right: 100%; background: #75c4c0; z-index: -1;
}
.button-one:hover { color: #FFF;
}
.button-one:hover::after { right: 0%;
}
.button-two { color: #ffa811; border: 1px solid #ffa811;
}
.button-two::before { content: ""; display: block; position: absolute; top: 0; bottom: 0; background: #ffa811; z-index: -1;
}
.button-two::before { left: 51%; right: 50%;
}
.button-two:hover { color: #FFF;
}
.button-two:hover::before { left: 0; right: 0;
}
.button-three { border: 1px solid #d10a32; color: #d10a32;
}
.button-three::after { content: ""; background: #d10a32; position: absolute; z-index: -1; top: 50%; bottom: 50%; left: 50%; right: 50%;
}
.button-three:hover { color: #FFF;
}
.button-three:hover::after { top: 0%; bottom: 0%; left: 0%; right: 0%;
}
.button-four { border: 1px solid #9c11ff; color: #9c11ff; outline: 1px solid #9c11ff; outline-offset: -1px;
}
.button-four:hover { outline: 1px solid #9c11ff; outline-offset: -4px;
}
.button-five { border: 1px solid #e8b409; color: #e8b409; outline: 1px solid #e8b409; outline-offset: -1px;
}
.button-five:hover { outline: 1px solid #e8b409; outline-offset: 3px;
}
.button-six { border: 1px solid #f124f4; color: #f124f4; outline: 1px solid #f124f4; outline-offset: -1px;
}
.button-six:hover { outline: 5px solid #f124f4; outline-offset: -5px;
}
.button-seven { border: 1px solid #2463f4; background: #2463f4; color: #FFF;
}
.button-seven::before, .button-seven::after { content: ""; display: block; background: white; position: absolute;
}
.button-seven::before, .button-seven::after { height: 2px;
}
.button-seven::before { top: -3%; left: -3%; right: 103%;
}
.button-seven::after { bottom: -3%; right: -3%; left: 103%;
}
.button-seven:hover::before { right: -3%;
}
.button-seven:hover::after { left: -3%;
}
.button-eight { border: 1px solid #24f474; background: #24f474; outline: 2px solid #FFF;
}
.button-eight:hover { outline-offset: -4px;
}
.button-nine { border: 1px solid #42f4b0; background: #42f4b0; overflow: hidden;
}
.button-nine::after { background: #a2fad8; content: ""; position: absolute; width: 30%; height: 500%; top: -200%; left: -50%; -webkit-transform: rotate(45deg); transform: rotate(45deg);
}
.button-nine:hover::after { left: 120%;
}
.button-ten { background: #9c11ff; color: #FFF; -webkit-transition: all cubic-bezier(0.85, 0.17, 0.48, 1.63) 300ms; transition: all cubic-bezier(0.85, 0.17, 0.48, 1.63) 300ms; outline: 2px solid #FFF;
}
.button-ten:hover { -webkit-transform: scale(1.15); transform: scale(1.15); outline-offset: -8px;
}
.button-eleven { background: #ffa811; color: #FFF; -webkit-transition: all linear 400ms; transition: all linear 400ms;
}
.button-eleven:hover { -webkit-transform: rotate(5deg); transform: rotate(5deg);
}
![Some fun button effects - Script Codes](http://shots.codepen.io/kevinpowell/pen/ALzQPB-512.jpg)
Developer | Kevin |
Username | kevinpowell |
Uploaded | August 12, 2022 |
Rating | 3 |
Size | 3,839 Kb |
Views | 28,336 |
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 |
CSS blending modes test | 2,452 Kb |
Parallax scrolling - one class, multiple divs | 2,192 Kb |
CSS Grid Area demo | 3,928 Kb |
Anchors with smooth scrolling | 2,641 Kb |
Setting label widths | 1,556 Kb |
Flexbox - Flexbox Basic Layout - start | 3,352 Kb |
Explicit and Implicit grid | 2,297 Kb |
Collapsing divs with floats | 1,532 Kb |
Simple Jumbotron with BG image | 1,946 Kb |
Anchors | 2,264 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 |
OnScreenAction | Ozgursagiroglu | 2,647 Kb |
Resizable SASS Icons | Marianarlt | 7,611 Kb |
Coming Soon | MariamMassadeh | 1,680 Kb |
Responsive Section hover effect to show content | Berdejitendra | 2,540 Kb |
A vuejs widget | Chrgl86 | 2,869 Kb |
Pure CSS Spinners | Jlong | 2,043 Kb |
DevCamp 2014 - Denver Public Library | See8ch | 5,033 Kb |
Birthday Party Starter | Aussieyang | 1,629 Kb |
Clock with full screen background | Owebboy | 2,415 Kb |
Random Gradients - JS | Aldlevine | 2,026 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!