コピペでできる!cssとhtmlのみで作るホバーがいい感じの気のきいたボタンデザイン15種

CSS HTML
Update 2018.03.17

htmlとcssだけでできるボタンデザイン15選です。
こちらはホバーやフォーカス時の動きがちょっと可愛いものが多いです。

browser:  65 11 20 11 

ホバーがいい感じのボタンデザイン[15種]

HOVERでずれた背景がぐっと下に下がる

ニャン易度
<button class="cp_button01">button</button>
.cp_button01 {
position: relative;
z-index: 1;
display: inline-block;
width: 160px;
padding: 1em;
line-height: 1.4em;
cursor: pointer;
user-select: none;
transition: transform 0.2s, color 0.2s;
-webkit-transform: translate(0.5em -0.4em);
transform: translate(0.5em -0.4em);
color: #26c6da;
border: 1px solid #26c6da;
border-radius: 0;
background: transparent;
}
.cp_button01:before {
position: absolute;
z-index: -1;
top: 0;
left: 0;
display: block;
width: 100%;
height: 100%;
content: '';
transition: transform 0.2s, background-color 0.2s;
-webkit-transform: translate(0.6em, -0.3em);
transform: translate(0.6em, -0.3em);
background-color: rgba(38,198,218,0.5);
}
.cp_button01:hover {
-webkit-transform: translate(0.2em, -0.1em);
transform: translate(0.2em, -0.1em);
color: #ffffff;
}
.cp_button01:hover:before {
-webkit-transform: translate(-0.4em, 0.4em);
transform: translate(-0.4em, 0.4em);
}
.cp_button01:active {
transition-duration: 0.1s;
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
.cp_button01:active:before {
transition-duration: 0.1s;
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
background-color: rgba(38,198,218,0.5);
}
.cp_button01:focus {
color: #26c6da;
border: 1px solid #26c6da;
}
.cp_button01:focus:hover {
color: #ffffff;
}
.cp_button01:focus:before {
background-color: rgba(38,198,218,0.5);
}

HOVERでアップしてFOCUSでへこむ

ニャン易度
<button class="cp_button02">button</button>
.cp_button02 {
display: inline-block;
width: 160px;
padding: 1em;
line-height: 1.4em;
cursor: pointer;
user-select: none;
transition: box-shadow 0.2s, transform 0.2s;
color: #ec407a;
border-width: 0;
border-style: solid;
border-radius: 12% / 50%;
background: transparent;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.cp_button02:hover {
-webkit-transform: scale(1.02);
transform: scale(1.02);
box-shadow: 0 1px 6px 1px rgba(0, 0, 0, 0.2);
color: #ec407a;
}
.cp_button02:active {
transition-duration: 0.05s;
-webkit-transform: scale(0.99);
transform: scale(0.99);
box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.15) inset;
}
.cp_button02:focus,
.cp_button02:focus:hover {
color: #ec407a;
}

HOVERでずれた枠が一つになって背景が変わる

ニャン易度
<button class="cp_button03">button</button>
.cp_button03 {
position: relative;
z-index: 1;
display: inline-block;
box-sizing: border-box;
width: 160px;
padding: 1em;
line-height: 1.4;
cursor: pointer;
user-select: none;
transition: color 0.4s, transform 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
color: #52c11f;
border: 1px solid #52c11f;
border-radius: 0;
background: transparent;
}
.cp_button03:hover {
color: #ffffff;
border: 1px solid #52c11f;
}
.cp_button03:before, .cp_button03:after {
position: absolute;
z-index: -1;
top: 0;
left: 0;
display: block;
width: 100%;
height: 100%;
content: '';
}
.cp_button03:before {
transition: transform cubic-bezier(1, 0, 0, 1) 0.4s;
-webkit-transform: scaleY(0);
transform: scaleY(0);
transform-origin: top center;
background-color: #52c11f;
}
.cp_button03:after {
top: -6px;
left: -6px;
transition: transform cubic-bezier(0.645, 0.045, 0.355, 1) 0.4s;
border: 1px solid #52c11f;
}
.cp_button03:hover:before {
-webkit-transform: scaleY(1);
transform: scaleY(1);
border: 1px solid #52c11f;
}
.cp_button03:hover:after {
-webkit-transform: translate(6px, 6px);
transform: translate(6px, 6px);
border: 1px solid #52c11f;
}
.cp_button03:active {
transition-duration: 0.05s;
-webkit-transform: translate(6px, 6px);
transform: translate(6px, 6px);
}
.cp_button03:active:after {
transition-duration: 0.05s;
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}
.cp_button03:focus {
color: #52c11f;
border: 1px solid #52c11f;
}
.cp_button03:focus:hover {
color: #ffffff;
}
.cp_button03:focus:before {
background-color: #52c11f;
}

HOVERで上に着いたラベルが広がって背景になる

ニャン易度
<button class="cp_button04">button</button>
.cp_button04 {
display: inline-block;
padding: 1em;
width: 160px;
background: transparent;
cursor: pointer;
line-height: 1.4;
user-select: none;
vertical-align: bottom;
transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
color: #F4511E;
border: 1px solid #F4511E;
border-radius: 0;
position: relative;
z-index: 1;
}
.cp_button04:hover:before {
-webkit-transform: scale(0.85, 1) translate(8%, -15%);
transform: scale(0.85, 1) translate(8%, -15%);
}
.cp_button04:active:before {
transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
transition-duration: 0.15s;
-webkit-transform: scale(1, 1.2) translate(6%, 3%);
transform: scale(1, 1.2) translate(6%, 3%);
}
.cp_button04:before {
position: absolute;
z-index: -1;
top: 0;
left: 0;
display: block;
width: 100%;
height: 100%;
content: '';
transition: transform 0.3s, background-color 0.3s;
-webkit-transform: scale(0.3, 0.2) translate(12%, -20%);
transform: scale(0.3, 0.2) translate(12%, -20%);
transform-origin: 5% -5%;
background-color: #ff7043;
}
.cp_button04:hover,
.cp_button04:active {
color: #ffffff;
border: 1px solid #ff7043;
}
.cp_button04:focus {
color: #ff7043;
border: 1px solid #ff7043;
}
.cp_button04:focus:hover {
color: #ffffff;
border: 1px solid #ff7043;
}
.cp_button04:focus:before {
background-color: #ff7043;
}

HOVERで横にスライドしながら枠がつく

ニャン易度
<button class="cp_button05">button</button>
.cp_button05 {
position: relative;
z-index: 1;
width: 160px;
padding: 1em;
line-height: 1.4;
cursor: pointer;
user-select: none;
transition: color 0.3s cubic-bezier(0.02,0.01,0.47,1),transform 0.3s cubic-bezier(0.02,0.01,0.47,1);
vertical-align: bottom;
color: #ffffff;
border: none;
border-width: 0;
border-color: transparent;
border-radius: 0;
background: transparent;
}
.cp_button05:before {
position: absolute;
z-index: -1;
top: 0;
left: 0;
width: 100%;
height: 100%;
content: '';
transition: box-shadow 0.2s cubic-bezier(0.02,0.01,0.47,1);
-webkit-transform: skewX(20deg);
transform: skewX(20deg);
background: #26c6da;
}
.cp_button05:after {
position: absolute;
z-index: -1;
top: 0;
left: 0;
width: 0;
height: 100%;
content: '';
transition: opacity 0.2s cubic-bezier(0.02,0.01,0.47,1),width 0.15s cubic-bezier(0.02,0.01,0.47,1);
-webkit-transform: skewX(20deg);
transform: skewX(20deg);
opacity: 0;
background: #1a237e;
}
.cp_button05:hover {
-webkit-transform: translateX(5px);
transform: translateX(5px);
color: #ffffff;
}
.cp_button05:hover:after {
width: 5px;
opacity: 1;
}
.cp_button05:hover:before {
box-shadow: inset 0 -1px 0 #1a237e, inset 0 1px 0 #1a237e, inset -1px 0 0 #1a237e;
}
.cp_button05:active:before {
box-shadow: inset 0 -3px 0 #1a237e, inset 0 3px 0 #1a237e, inset -3px 0 0 #1a237e;
}
.cp_button05:focus,
.cp_button05:focus:hover {
color: #ffffff;
}

HOVERで背景が真ん中から色違いに染まる

ニャン易度
<button class="cp_button06">button</button>
.cp_button06 {
position: relative;
z-index: 1;
padding: 1em;
width: 160px;
line-height: 1.4;
cursor: pointer;
transition: color .3s cubic-bezier(.02,.01,.47,1),border-color .3s cubic-bezier(.02,.01,.47,1);
color: #F06292;
background: transparent;
overflow: hidden;
border: 1px solid #F06292;
border-radius: 100px;
background: #fff;
}
.cp_button06:after, .cp_button06:before {
position: absolute;
z-index: -1;
top: 0;
left: 0;
width: 100%;
height: 120%;
content: '';
transition: transform 0.15s cubic-bezier(0.02,0.01,0.47,1),opacity 0.15s cubic-bezier(0.02,0.01,0.47,1);
opacity: 0;
}
.cp_button06:before {
background: #D81B60;
-webkit-transform: translate3d(-110%,-10%,0) skewX(-20deg);
transform: translate3d(-110%,-10%,0) skewX(-20deg);
}
.cp_button06:after {
-webkit-transform: translate3d(110%,-10%,0) skewX(-20deg);
transform: translate3d(110%,-10%,0) skewX(-20deg);
background: #F06292;
}
.cp_button06:hover {
transition: all 0.5s cubic-bezier(0.02,0.01,0.47,1);
box-shadow: 0 1px 6px rgba(0,0,0,0.3);
color: #ffffff;
background: #E91E63;
border: 1px solid #F06292;
}
.cp_button06:hover:after, .cp_button06:hover:before {
transition: transform 0.25s cubic-bezier(0.02,0.01,0.47,1),opacity 0.25s cubic-bezier(0.02,0.01,0.47,1);
-webkit-transform: translate3d(50%,-10%,0) skewX(-20deg);
transform: translate3d(50%,-10%,0) skewX(-20deg);
opacity: 1;
}
.cp_button06:active {
opacity: 0.5;
color: #F06292;
}
.cp_button06:focus {
border: 1px solid #F06292;
color: #F06292;
}
.cp_button06:focus:hover {
color: #ffffff;
border: 1px solid #F06292;
}

HOVERで右上に丸いアクセントが出る

ニャン易度
<button class="cp_button07">button</button>
.cp_button07 {
position: relative;
z-index: 1;
overflow: hidden;
width: 160px;
padding: 1em;
cursor: pointer;
line-height: 1.4;
transition: color 0.3s cubic-bezier(0.02,0.01,0.47,1),transform 0.3s cubic-bezier(0.02,0.01,0.47,1);
color: #ffffff;
border: none;
border-width: 0;
border-color: transparent;
border-radius: 100px;
background: #009688;
}
.cp_button07:after, .cp_button07:before {
position: absolute;
z-index: -1;
right: 0;
bottom: 0;
width: 100px;
height: 100px;
content: '';
transition: transform 0.15s cubic-bezier(0.02,0.01,0.47,1),opacity 0.15s cubic-bezier(0.02,0.01,0.47,1);
-webkit-transform: translate(100%,-25%) translateZ(0);
transform: translate(100%,-25%) translateZ(0);
opacity: 0;
border-radius: 50%;
background: #009688;
}
.cp_button07:after, .cp_button07:before {
background: #ffffff;
}
.cp_button07:hover {
transition: all 0.5s cubic-bezier(0.02,0.01,0.47,1);
-webkit-transform: scale(1.1) translateZ(0);
transform: scale(1.1) translateZ(0);
color: #ffffff;
box-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.cp_button07:hover:before {
transition: transform 0.2s cubic-bezier(0.02,0.01,0.47,1),opacity 0.2s cubic-bezier(0.02,0.01,0.47,1);
-webkit-transform: translate3d(50%,0,0) scale(0.9);
transform: translate3d(50%,0,0) scale(0.9);
opacity: 0.15;
}
.cp_button07:hover:after {
transition: transform 0.2s cubic-bezier(0.02,0.01,0.47,1) 0.05s,opacity 0.2s cubic-bezier(0.02,0.01,0.47,1) 0.05s;
-webkit-transform: translate(50%) scale(1.1);
transform: translate(50%) scale(1.1);
opacity: 0.25;
}
.cp_button07:active {
opacity: 0.5;
}
.cp_button07:focus {
color: #ffffff;
}

HOVERで少し横に広がる

ニャン易度
<button class="cp_button08">button</button>
.cp_button08 {
display: inline-block;
width: 160px;
padding: 1em;
line-height: 1.4;
cursor: pointer;
user-select: none;
transition: background-color 0.2s, color 0.2s, width 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-radius 0.2s;
color: #7e57c2;
border: 1px solid #7e57c2;
border-radius: 0.2em;
background: transparent;
}
.cp_button08:hover {
width: 180px;
color: #ffffff;
border-radius: 0.5em;
border: 1px solid #7e57c2;
background-color: #7e57c2;
}
.cp_button08:active {
border-color: #5e35b1;
background-color: #5e35b1;
}
.cp_button08:focus {
color: #7e57c2;
border: 1px solid #7e57c2;
}
.cp_button08:focus:hover {
color: #ffffff;
}

HOVERで左に上がってfocusで大きく下がる

ニャン易度
<button class="cp_button09">button</button>
.cp_button09 {
display: inline-block;
width: 160px;
padding: 1em;
line-height: 1.4;
cursor: pointer;
user-select: none;
transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s;
color: #4caf50;
border: 3px solid #4caf50;
border-radius: 0.5em;
background: transparent;
box-shadow: 3px 0 0 0 #4caf50, 3px 3px 0 0 #4caf50, 0 3px 0 0 #4caf50;
}
.cp_button09:hover {
transform: translate(-2px, -2px);
box-shadow: 5px 0 0 0 #4caf50, 5px 5px 0 0 #4caf50, 0 5px 0 0 #4caf50;
border: 3px solid #4caf50;
color: #4caf50;
}
.cp_button09:active {
transition-duration: 0.1s;
-webkit-transform: translate(4px, 4px);
transform: translate(4px, 4px);
color: #ffffff;
border: 3px solid #4caf50;
background-color: #4caf50;
box-shadow: 2px 0 0 0 #4caf50, 2px 2px 0 0 #4caf50, 0 2px 0 0 #4caf50;
}

focusで左下にアクセントで波紋が出る

ニャン易度
<button class="cp_button10">button</button>
.cp_button10 {
position: relative;
display: inline-block;
overflow: hidden;
width: 160px;
padding: 1em;
line-height: 1.4;
cursor: pointer;
user-select: none;
color: #ffffff;
border: 1px solid #FFB300;
border-radius: 0.25rem;
background: #FFB300;
}
.cp_button10:after {
position: absolute;
display: block;
margin-top: -120%;
margin-left: -120%;
padding-top: 240%;
padding-left: 240%;
content: '';
transition: all 1s;
opacity: 0;
border-radius: 50%;
background: rgba(255,255,255,0.3);
}
.cp_button10:hover {
color: #ffffff;
border-color: #FF8F00;
background-color: #FF8F00;
}
.cp_button10:active:after {
margin-top: 0;
margin-left: 0;
padding-top: 0;
padding-left: 0;
transition: 0s;
opacity: 1;
}
.cp_button10:focus {
color: #ffffff;
border: 1px solid #FFB300;
}

HOVERで外から枠が出る

ニャン易度
<button class="cp_button11">button</button>
.cp_button11 {
width: 160px;
margin: 0.4em;
padding: 1em;
line-height: 1.4;
cursor: pointer;
user-select: none;
transition: background-color 0.3s;
-webkit-transform: translateZ(0);
transform: translateZ(0);
text-decoration: none;
color: #ec407a;
border: 1px solid #ec407a;
background: transparent;
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.cp_button11:before {
position: absolute;
top: -16px;
right: -16px;
bottom: -16px;
left: -16px;
content: '';
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition-property: top right bottom left;
transition-property: top right bottom left;
opacity: 0;
border: 4px solid rgba(236,64,122,0.5);
}
.cp_button11:hover:before {
top: -8px;
right: -8px;
bottom: -8px;
left: -8px;
opacity: 1;
}
.cp_button11:active {
color: #ffffff;
background-color: #ec407a;
}
.cp_button11:active:before {
top: -17px;
right: -17px;
bottom: -17px;
left: -17px;
}
.cp_button11:hover,
.cp_button11:focus {
color: #ec407a;
border: 1px solid #ec407a;
}

HOVERで内側から枠が出る

ニャン易度
<button class="cp_button12">button</button>
.cp_button12 {
width: 160px;
margin: 0.4em;
padding: 1em;
line-height: 1.4;
cursor: pointer;
user-select: none;
-webkit-transform: translateZ(0);
transform: translateZ(0);
color: #ffffff;
border: 1px solid #29b6f6;
background: #29b6f6;
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.cp_button12:before {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
content: '';
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition-property: top right bottom left;
transition-property: top right bottom left;
border: rgba(41,182,246,0.5) solid 4px;
}
.cp_button12:hover:before {
top: -8px;
right: -8px;
bottom: -8px;
left: -8px;
opacity: 1;
}
.cp_button12:active {
color: #ffffff;
background-color: #0288d1;
}
.cp_button12:active:before {
top: -3px;
right: -3px;
bottom: -3px;
left: -3px;
}
.cp_button12:focus:hover,
.cp_button12:focus,
.cp_button12:active:hover,
.cp_button12:hover {
color: #ffffff;
border: 1px solid #29b6f6;
}

HOVERでふわふわ浮く

ニャン易度
<button class="cp_button13">button</button>
.cp_button13 {
position: relative;
z-index: 1;
display: inline-block;
width: 160px;
padding: 1em;
line-height: 1.4;
cursor: pointer;
user-select: none;
transition: transform 0.3s;
color: #2e7d32;
border: 0;
background: #d4e157;
}
.cp_button13:before {
position: absolute;
z-index: -1;
top: 100%;
left: 5%;
width: 90%;
height: 10px;
content: '';
transition:transform 0.3s,opacity 0.3s;
pointer-events: none;
opacity: 0;
background: -webkit-radial-gradient(center, ellipse, rgba(46,125,50, 0.35) 0%, rgba(46,125,50, 0) 80%);
background: radial-gradient(ellipse at center, rgba(46,125,50, 0.35) 0%, rgba(46,125,50, 0) 80%);
}
.cp_button13:hover {
-webkit-transform: translateY(-6px);
transform: translateY(-6px);
-webkit-animation: button13 1.5s linear infinite alternate 0.3s;
animation: button13 1.5s linear infinite alternate 0.3s;
color: #2e7d32;
}
.cp_button13:hover:before {
-webkit-transform: translateY(6px);
transform: translateY(6px);
-webkit-animation: button13_shadow 1.5s linear infinite alternate 0.3s;
animation: button13_shadow 1.5s linear infinite alternate 0.3s;
opacity: 0.4;
}
.cp_button13:focus {
color: #2e7d32;
}
@-webkit-keyframes button13 {
50% {
-webkit-transform: translateY(-3px);
transform: translateY(-3px);
}
100% {
-webkit-transform: translateY(-6px);
transform: translateY(-6px);
}
}
@keyframes button13 {
50% {
-webkit-transform: translateY(-3px);
transform: translateY(-3px);
}
100% {
-webkit-transform: translateY(-6px);
transform: translateY(-6px);
}
}
@-webkit-keyframes button13_shadow {
0% {
-webkit-transform: translateY(6px);
transform: translateY(6px);
opacity: 0.4;
}
50% {
-webkit-transform: translateY(3px);
transform: translateY(3px);
opacity: 1;
}
100% {
-webkit-transform: translateY(6px);
transform: translateY(6px);
opacity: 0.4;
}
}
@keyframes button13_shadow {
0% {
-webkit-transform: translateY(6px);
transform: translateY(6px);
opacity: 0.4;
}
50% {
-webkit-transform: translateY(3px);
transform: translateY(3px);
opacity: 1;
}
100% {
-webkit-transform: translateY(6px);
transform: translateY(6px);
opacity: 0.4;
}
}

HOVERで横にぷるんと動く

ニャン易度
<button class="cp_button14">button</button>
.cp_button14 {
display: inline-block;
width: 160px;
padding: 1em;
line-height: 1.4;
cursor: pointer;
user-select: none;
transition: transform 0.2s, background-color 0.2s;
-webkit-transform: translateZ(0);
transform: translateZ(0);
color: #283593;
border: 0;
border-radius: 50px;
background: #26c6da;
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.cp_button14:hover {
-webkit-animation: button14 1s ease-in-out;
animation: button14 1s ease-in-out;
color: #283593;
}
.cp_button14:active {
-webkit-transform: translate(2px, 2px);
transform: translate(2px, 2px);
background-color: #00acc1;
}
.cp_button13:focus {
color: #283593;
}
@-webkit-keyframes button14 {
16.65% {
-webkit-transform: translateX(8px);
transform: translateX(8px);
}
33.3% {
-webkit-transform: translateX(-6px);
transform: translateX(-6px);
}
49.95% {
-webkit-transform: translateX(4px);
transform: translateX(4px);
}
66.6% {
-webkit-transform: translateX(-2px);
transform: translateX(-2px);
}
83.25% {
-webkit-transform: translateX(1px);
transform: translateX(1px);
}
100% {
-webkit-transform: translateX(0);
transform: translateX(0);
}
}
@keyframes button14 {
16.65% {
-webkit-transform: translateX(8px);
transform: translateX(8px);
}
33.3% {
-webkit-transform: translateX(-6px);
transform: translateX(-6px);
}
49.95% {
-webkit-transform: translateX(4px);
transform: translateX(4px);
}
66.6% {
-webkit-transform: translateX(-2px);
transform: translateX(-2px);
}
83.25% {
-webkit-transform: translateX(1px);
transform: translateX(1px);
}
100% {
-webkit-transform: translateX(0);
transform: translateX(0);
}
}

HOVERで横にぷるんと動く下は固定

ニャン易度
<button class="cp_button15">button</button>
.cp_button15 {
display: inline-block;
width: 160px;
padding: 1em;
line-height: 1.4;
cursor: pointer;
transition: all 0.2s;
-webkit-transform: translateZ(0);
transform: translateZ(0);
-webkit-transform-origin: 0 100%;
transform-origin: 0 100%;
text-decoration: none;
color: #ec407a;
border: 3px solid #ec407a;
border-radius: 8px;
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.cp_button15:hover {
-webkit-animation: button15 1s ease-in-out;
animation: button15 1s ease-in-out;
color: #ec407a;
border: 3px solid #ec407a;
}
.cp_button15:active {
-webkit-transform: translate(1px, 1px);
transform: translate(1px, 1px);
border-radius: 5% / 50%;
background-color: rgba(236,64,122,0.2);
color: #ec407a;
border: 3px solid #ec407a;
}
.cp_button15:focus:hover,
.cp_button15:focus {
color: #ec407a;
border: 3px solid #ec407a;
}
@-webkit-keyframes button15 {
16.65% {
-webkit-transform: skew(-12deg);
transform: skew(-12deg);
}
33.3% {
-webkit-transform: skew(10deg);
transform: skew(10deg);
}
49.95% {
-webkit-transform: skew(-6deg);
transform: skew(-6deg);
}
66.6% {
-webkit-transform: skew(4deg);
transform: skew(4deg);
}
83.25% {
-webkit-transform: skew(-2deg);
transform: skew(-2deg);
}
100% {
-webkit-transform: skew(0);
transform: skew(0);
}
}
@keyframes button15 {
16.65% {
-webkit-transform: skew(-12deg);
transform: skew(-12deg);
}
33.3% {
-webkit-transform: skew(10deg);
transform: skew(10deg);
}
49.95% {
-webkit-transform: skew(-6deg);
transform: skew(-6deg);
}
66.6% {
-webkit-transform: skew(4deg);
transform: skew(4deg);
}
83.25% {
-webkit-transform: skew(-2deg);
transform: skew(-2deg);
}
100% {
-webkit-transform: skew(0);
transform: skew(0);
}
}

ボタンデザイン第1弾

copypet.jp

コピペでできる!CSSとhtmlだけの使い勝手のいいボタンデザイン15選 | copypet.jp|パーツで探す、web制作に使えるコピペサイト。

htmlとcssだけでできるボタンデザイン15選です。 使い勝手のいいものをピックアップしました。…

copypet.jp

記事を見る

copypet.jp

CSS3などで新たに追加された要素・装飾方法など、日々コードを書いていないと忘れてしまったり、ささっとプロトタイプを作る時などちょっとしたことに時間をかけている暇はない。そんな時に「あ〜、あれストックしときゃよかったなぁ」って困った自分用のストックブログです。カスタマイズなどがしやすいよう、昨今のweb制作に取り入れられる一般的なコードを中心に掲載しています。

More Info

こんな記事はいかがですか?