mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-22 19:14:53 +00:00
Remake Home page
This commit is contained in:
parent
9676819871
commit
e4f53f9ea4
19 changed files with 258 additions and 147 deletions
6
DV8-Expo/website/static/js/games.js
Normal file
6
DV8-Expo/website/static/js/games.js
Normal file
|
@ -0,0 +1,6 @@
|
|||
function keepRatio() {
|
||||
let games = document.querySelectorAll(".game-box");
|
||||
games.forEach((game) => {
|
||||
game.style.height = (game.offsetWidth * 1.5) + "px";
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue