* {
outline: solid red;
}
<form>
<div class="form-group">
<input type="text" name="name" class="form-control" placeholder="Your Name">
</div>
<button type="submit"><span>Submit</span></button>
</form>
* {
box-sizing: border-box;
}
.form-group {
position: relative;
background: #fff;
}
.form-control {
width: 100%;
height: 2.5rem;
background: transparent;
border: none;
}
button {
border:none;
background: transparent;
position: relative;
padding: 1rem 2rem;
}
button span {
position: relative;
z-index: 3;
}
button:after,
.form-group:after {
content: '';
position: absolute;
top: -2px;
left: -2px;
bottom: -2px;
right: -2px;
background: linear-gradient(0deg, rgb(255, 174, 0) 0px, rgb(249, 232, 102) 100%);
z-index: -1;
-webkit-animation: animatedgradient 1s ease alternate infinite;
animation: animatedgradient 1s ease alternate infinite;
background-size: 100% 200%;
background-position: 0 100%;
}
@-webkit-keyframes animatedgradient {
100% {
background-position: 0 0;
}
}
@keyframes animatedgradient {
100% {
background-position: 0 0;
}
}
body {
overflow-anchor: none;
}
<div class='container'>
<div class='header'>
</div>
</div>
.p-booking .booking-room-time-cards {
padding-left: 28px;
padding-right: 28px;
}
Что лучше: ставить Gulp на OpenServer/MAMP и там уже верстать или сначала сверстать в Gulp, а затем файлы перевести в .php формат и посадить на WP?
gulp.task('browserSync', function () {
browserSync.init({
proxy: "wordpress-project",
notify: false,
});
});