<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Overlay :: Tag :: Ma documentation</title><link>http://quentinpigne.github.io/tags/overlay/index.html</link><description/><generator>Hugo</generator><language>fr-FR</language><atom:link href="http://quentinpigne.github.io/tags/overlay/index.xml" rel="self" type="application/rss+xml"/><item><title>CSS Overlay Techniques</title><link>http://quentinpigne.github.io/developpement/frontend/css-scss/overlay-techniques/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://quentinpigne.github.io/developpement/frontend/css-scss/overlay-techniques/index.html</guid><description>Élément en position absolue &lt;html> &lt;body> &lt;div class="overlay">&lt;/div> &lt;body> &lt;html> html, body { min-height: 100%; } body { position: relative; } .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; background-color: rgba(0,0,0,0.5); /*dim the background*/ } Élément avec une position fixe Utilisation d’un pseudo élément Appliquer un grand contour à une modale Appliquer une grande ombre à une modale Utilisation de l’élément HTML &lt;dialog> Références https://tympanus.net/codrops/2013/11/07/css-overlay-techniques/</description></item></channel></rss>