vic4884
6/17/2019 - 2:48 AM

regular css

<?php
//https://regex101.com/r/P179Wi/2

$re = '/.gutenberg(\s?|-.+)(\{(\n|.)*?\})/';
$str = '.menu-contacts {
  width: 180px;
  padding-top: 3px;
  padding-bottom: 5px;
  float: right;
  text-align: center;
}
 
.menu-phone {
  display: block;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 18px;
  text-decoration: none;
}
 
.menu-callback {
  display: inline-block;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
  text-decoration: none;
}
 
.dropdown-link {
  -webkit-transition: background-color 350ms ease;
  transition: background-color 350ms ease;
}
 
.dropdown-link:hover {
  background-color: hsla(0, 0%, 100%, 0.5);
}
 
.slider-section {
  margin-top: 120px;
}
 
.container {
  display: block;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.gutenberg {
  height: 700px;
} 

.gutenberg-slider {
  height: 700px;
}
 
.gutenberg-slide {
  position: absolute;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  height: 100%;
  background-image: url("../images/5c43959cff0f5058aa2d198f_0062-1600x1072-50359.jpg");
  background-position: 50% 50%;
  background-size: cover;
}
 
.gutenberg-slide .slide._2 {
  background-image: url("../images/5c43959cff0f507e6f2d1991_i10-11-1200x798-96290.jpg");
  background-size: cover;
}
 
.gutenberg-slide .slide._3 {
  background-image: url("../images/5c43959cff0f5010ac2d198c_i91-1200x614-51256.jpg");
  background-size: cover;
}
 
.slide-box {
  margin-top: 240px;
  text-align: center;
}
.dropdown-link:hover {
  background-color: hsla(0, 0%, 100%, 0.5);
}
 
.slider-section {
  margin-top: 120px;
}';

preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0);

// Print the entire match result
var_dump($matches);