HFScode / zspin

zspin is an arcade frontend, working on windows, linux, and OSX.
http://forum.hfsplay.fr/zspin-f113/
Other
16 stars 11 forks source link

Gestion du verouillage de la hauteur des Videos #41

Closed camarade35 closed 8 years ago

camarade35 commented 8 years ago

Quand je crée une div comme ceci :

video {

  position: relative;
  top: 13.25%;
  right: 24%;
  width: 100%;
  height: 42%;
}
.gwd-video-17q3 {
  position: absolute;
  height: 100%;
  right: 0%;
  border-style: solid;
}

Seule la gestion de la largeur est prise en charge et c'est elle qui gère la hauteur.

Inquisitom commented 8 years ago

Essaye ça : http://www.quirksmode.org/css/units-values/viewport.html

Je pense que ça pourrait faire ton affaire ... à tester.

camarade35 commented 8 years ago

Merci Tom ;)

Inquisitom commented 8 years ago

Donc Bug à clôturer ?

camarade35 commented 8 years ago

oui, voici la solution pour mon problème et donc sans div

.gwd-video-17q3 { position: absolute; width: 26%; max-height: 40vh; left: 2.75%; top: 17.6%; opacity: 0; }