У меня есть исправленный заголовок, и я хочу это сделать: Как создать размытие фона в фиксированном заголовке?
У меня нет никакой идеи. У кого-то есть опыт?
<div class="header">
Nejaka hlavicka s rozmazanym pozadim
</div>
<div class="body">
text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br> text a spousta dalsiho textu <br>
.header {
background: rgba(0,0,0,.1);
padding: 20px;
position: fixed;
}
.body {
font-weight: bold;
}
Просто используйте CSS эффект размытия? 'filter: blur (5px);' – Aer0
Нет, это делает другой эффект. https://jsfiddle.net/7y4xzugs/6/ – Stalky