/**
* Download button
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} // Exit if accessed directly
/** @var DLM_Download $dlm_download */
?>
Biz bunun içinde şu codepen kodunu ekleyeceğiz:
HTML;
CSS;
body{
width: 100%;
height:100%;
position:relative;
overflow:hidden;
background:
linear-gradient(
rgba(0, 0, 0, 0.7),
rgba(0, 0, 0, 0.7)
),
black url('https://images.unsplash.com/photo-1439723680580-bfd9d28ef9b6?crop=entropy&fit=crop&fm=jpg&h=950&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=1925') 50% 50% no-repeat;
//background:
linear-gradient(
rgba(0, 0, 0, 0.7),
rgba(0, 0, 0, 0.7)
),
rgba(47, 64, 154) url('https://images.unsplash.com/photo-1449157291145-7efd050a4d0e?crop=entropy&fit=crop&fm=jpg&h=950&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=1925') 50% 50% no-repeat;
//background-blend-mode: exclusion;
background-blend-mode: luminosity;
}
.container{
height:100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.btn {
margin-top: calc(50% + 25px);
position: relative;
display: inline-block;
width: 177px;
height: 50px;
font-size: 1em;
font-weight: bold;
line-height: 60px;
text-align: center;
text-transform: uppercase;
background-color: transparent;
cursor: pointer;
text-decoration:none;
font-family: 'Roboto', sans-serif;
font-weight:900;
font-size:17px;
letter-spacing: 0.045em;
}
.btn svg {
position: absolute;
top: 0;
left: 0;
}
.btn svg rect {
//stroke: #EC0033;
stroke-width: 4;
stroke-dasharray: 353, 0;
stroke-dashoffset: 0;
-webkit-transition: all 600ms ease;
transition: all 600ms ease;
}
.btn span{
background: rgb(47, 64, 154);
background: -moz-linear-gradient(left, rgba(47, 64, 154) 0%, rgba(225,120,237,1) 100%);
background: -webkit-linear-gradient(left, rgba(47, 64, 154) 0%,rgba(47, 64, 154) 100%);
background: linear-gradient(to right, rgba(47, 64, 154) 0%,rgba(47, 64, 226) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff8282', endColorstr='#e178ed',GradientType=1 );
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.btn:hover svg rect {
stroke-width: 4;
stroke-dasharray: 196, 543;
stroke-dashoffset: 437;
}
Şimdiden herkese teşekkür ederim.