Skip to main content
Creative

Creative Button Styles

By 16 août 2020No Comments

Styles et effets modernes et subtils pour les boutons (survolez et cliquez)

<div class="btn-style1"><a href="#">HOUSSAM LE MAGICIEN</a></div>
.btn-style1 a{
    border: none;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    padding: 25px 80px;
    display: inline-block;
    margin: 15px 0px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    outline: none;
    position: relative;
	-webkit-transition: none;
    -moz-transition: none;
    transition: none;
	background: #3F51B5;
    color: #fff;
    box-shadow: 0 6px #283593;
	border-radius: 5px;
}

.btn-style1 a:hover {
    box-shadow: 0 4px #1A237E;
    top: 2px;
}

.btn-style1 a:active {
    box-shadow: 0 0 #1A237E;
    top: 6px;
}
<div class="btn-style2"><a href="#">HOUSSAM LE MAGICIEN</a></div>
.btn-style2 a {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    padding: 25px 80px;
    display: inline-block;
    margin: 15px 0px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    outline: none;
    position: relative;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
	border-radius: 50px;
    border: 3px solid #000;
    color: #000;
    overflow: hidden;
}

.btn-style2 a:before {
    left: 130%;
    top: 4px;
	position: absolute;
    height: 100%;
    font-size: 125%;
    line-height: 3.5;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
	font-family: FontAwesome;
	content: "\f178"
}

.btn-style2 a:hover {
	border-color: #000;
	color: #000;
	background: #fff
}

.btn-style2 a:active {
	-webkit-transition: all 0s;
    -moz-transition: all 0s;
    transition: all 0s;
	background: #000;
	color: #fff

}

.btn-style2 a:hover:before {
    left: 85%;
}
<div class="btn-style3"><a href="#">HOUSSAM LE MAGICIEN</a></div>
.btn-style3 a {
    font-size: inherit;
    cursor: pointer;
    padding: 25px 80px;
    display: inline-block;
    margin: 15px 0px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    outline: none;
    position: relative;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
	border-radius: 50px;
    color: #fff;
    overflow: hidden;
	background: #000
}

.btn-style3 a:after {
    width: 200px;
    height: 30px;
    background: rgba(255,255,255,0.3);
    opacity: 1;
    -moz-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    content: "";
    position: absolute;
    top: 50%;
    left: -50px;
    transition: all 0.5s ease !important;
}

.btn-style3 a:hover:after {
    top: 50%;
    left: 500px;
}

.btn-style3 a:hover {
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.16);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-transform: translateY(-3px);
}

.btn-style3 a:active {
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
    -webkit-transform: translateY(-1px);
}

Leave a Reply