0

何度か検索した結果、最新の Windows Phone で動作するページの上にオーバーレイを配置するソリューションが見つかりません。これは、最新のすべてのブラウザーで機能しますが、Windows Phone では機能しません。

CSS

html, body
{
    height: 100%;
}
div.overlay
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: gray;
}

HTML

<html>
    <body>
        <div class="overlay">Centered?</div>
    </body>
</html>

デモ

4

0 に答える 0