There is a button on which the modal window pops up. How to make the background behind the window obscured and blurred using styles?
function toggle(el) { el.style.display = (el.style.display == 'none') ? '' : 'none' } .application { box-shadow: 0 0 10px #777; position: fixed; top: 50%; width: 100%; } .application .close { cursor: pointer; position: absolute; top: 5px; right: 5px; } <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <button class="order-call" onclick="toggle(hidden_content)">Заказать звонок</button> <section class="application" id="hidden_content" style="display:none;"> <div class="container"> <h4>Перезвоним вам через 5 минут!</h4> <a class="close" onclick="toggle(hidden_content)">X</a> <p>Заявка на выезд специалиста</p>; </div> </section>