J'ai créé un fond d'écran plein qui semble convenir à tous les navigateurs, mais lors de la vérification sur un appareil mobile, il affiche comme ça.fond plein écran htm5 mobile
C'est le css que je l'ai utilisé
@font-face
{
font-family: myFirstFont;
src: url('LeagueGothic-Regular_0.otf')
}
html {
background: url(splash.png) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
text-align:center;
}
#logo {
margin:0 auto;
}
#main {
margin:0 auto;
width:1200px;
}
p {
font-family:myFirstFont;
color:white;
font-size:30pt;
}
#comingsoon {
margin:0 auto;
}
J'ai aussi mis cela dans la tête
<meta name="viewport" content="width=device-width, user-scalable=yes">
Je ne comprends pas vraiment ce que je l'ai fait mal ici.
Je l'ai essayé sur mon téléphone et ça marche bien –