h1 {
display: inline-block;
position: relative;
font-size: 52px;
margin-bottom: 40px;
margin-top: 10px;
padding: 5px;
}
h1:after {
content: '';
display: block;
background: rgba(251,218,3,0.8);
position: absolute;
top: 50%;
left: 0;
margin-top: -9px;
height: 18px;
width: 100%;
z-index: -1;
}
<select>
<option value="7827 руб">80x190/200см</option>
<option value="8768 руб">90x190/200см</option>
<option value="11271 руб">120x190/200см</option>
</select>
<p>Цена матраса: <span id="price"></span></p>
$('select').on('change', function(e) {
$('#price').text($(this).val());
});
<img src="..." class="img-responsive" alt="Responsive image">
<p>lorem ipsum dolor sit amet.</p>
<p>lorem ipsum dolor sit amet.</p>
<p class="image"><img src="http://via.placeholder.com/350x150"></p>
p:not(.image) {
border: 1px solid red;
padding: 20px 10px;
}
<div style="position:relative;height:0;padding-bottom:56.25%">
<iframe src="https://www.youtube.com/embed/hzYjjVcIWOA?ecver=2" width="640" height="360" frameborder="0" style="position:absolute;width:100%;height:100%;left:0" allowfullscreen></iframe>
</div>
<ul class='active'>
$(document).ready(function() {
$("#menu ul").not('.active').hide();
$("#menu li span").click(function() { $(this).next().slideToggle("normal"); });
});