button animation css codepen

Solutions on MaxInterview for button animation css codepen by the best coders in the world

showing results for - "button animation css codepen"
Federico
25 May 2016
1<div class="main-container">
2    <button class="button">Hover over</button>
3</div>
4<style>
5* {
6  margin: 0;
7  padding: 0;
8  box-sizing: content-box;
9}
10
11html,
12body {  
13    width: 100%;
14    height: 100%;
15} 
16
17.main-container {
18    width: 100%;
19    height: 100%;
20    display: flex;
21    justify-content: center;
22    align-items: center;
23    background-color: #111111;
24    color: #ffffff;
25}
26
27.button {
28  position: relative;
29  background-color: transparent;
30  padding: 10px 20px;
31  color: #ffffff;
32  border: none;
33  font-size: 1.9em;
34  transform: none;
35  cursor: pointer;
36}
37
38.button:after {
39  content: "";
40  height: 100%;
41  width: calc(100% + 20px);
42  position: absolute;
43  top: -2px;
44  left: -10px;
45  border-top: 2px solid #fff;
46  border-bottom: 2px solid #fff;
47  transition: 1s;
48}
49
50.button:before {
51  content:"";
52  height: calc(100% + 20px);
53  width: 100%;
54  position: absolute; 
55  top: -10px;
56  left: -2px;
57  border-left: 2px solid #fff;
58  border-right: 2px solid #fff;
59  transition: 1s;
60}
61
62.button:hover:before {
63  transform: rotateY(180deg);
64}
65
66.button:hover:after {
67  transform: rotateX(180deg);
68}
69</style>
queries leading to this page
stylish button with animation css codepen button animation codepenbutton animations examples codepencodepen call button animatedonclick animation css codepenanimate css codepencss animation button codpenanimation css codepen for buttoncall button animation codepencss animation rrunning button codepenbutton hover animation css codepencool animated buttons codepenanimated button codepenbest button animation example codepenreceive calls animated button with css html codepenanimated buttons codepenbutton animation codepenbutton appera animation css codepenbutton animation codepen jscss button hover animation effects codepencodepen button animation designcss animation codepen buttoncool button animations css codepenbutton effects css codepencss animation codpendownload button animation codependownload button css animation codepenrecive call animated button with css html codepenanimation button with icon codepenclick a button animation codepenanimated likes buttons example codepencodepen 22add button 22 animationbutton transition animation css codepensimple button animation css codepenanimated button animation css codepencss button animation on hover codepenbuttons with animation codepenbutton with icon animation css codepencss animations buttn codepencodepen animated buttonslink button hover animation effects codepenanimated hover button css codepenbutton animations codepenbutton animation css codepenonclick animation codepenbutton hover animations examples codepenanimated like button codepenanimatreds button css codepenanimated button css codepenbotton hover animations codepenview button animated codepenanimated css button codepensimple css animation codepencodepen button animationpulse animation button css codepenbutton text animation css codepencool button hover animations css codepencss animated box button codepencodepen button hover animationhover button animation css codepenanimated buttons html css js codepenmoving animation on button css codepenhtml css animation codepenanimation button css codepencss animation on hover button codepencodepen cool buttons animationonclick button animation codepenhover button animation codepencss3 3d animated buttons codepencodepen animated calling buttonplay button animation css codepenbutton animations css codepencss button animation codepenbutton click animation css codepencss animation button codepenputting animation css codepenbutton hover animation codepenanimation with css codepenbutton animation css codepen aroundcodepen icon into button animation cssbutton css animation codepenbutton effect codepenbutton animation javascript codepenanimation buttons codepencodepen buttons hover animationcss3 animated buttons codepencard button animation codepenanimations css codepenlike button animation css codepenanimation button codepencss animation on click codepen animation css codpenanimation css infinite codepen for buttonplay button animation codepenbotsrap animation button codepenbutton click text animation codepensaved button with animation codpenbutton animation codepen csscreative and animated button codepencodepen add button animationeffect css button codepenanimated buttons site 3acodepen iorise button animation codepenbutton animation css codepen