Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dimensionne l'iframe proportionnellement #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions assets/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
:root {
--couleur-primaire : #993B1F;
}

iframe {
max-width: 100%;
}

iframe[width="560"] {
aspect-ratio: 16/9;
}
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Par exemple, ce site est fait grâce à Scribouilli 😁

Pour le tester, [c'est par ici](https://scribouilli.github.io/scribouilli)

<iframe title="Démo de Scribouilli, un outil pour créer son petit site facilement !" src="https://aperi.tube/videos/embed/b2e42943-5c9a-4b9e-bd3c-41efd9286d88" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups" max-width="560" height="315" frameborder="0"></iframe>
<iframe title="Démo de Scribouilli, un outil pour créer son petit site facilement !" src="https://aperi.tube/videos/embed/b2e42943-5c9a-4b9e-bd3c-41efd9286d88" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups" width="560" frameborder="0"></iframe>

(il y a déjà eu de nombreuses améliorations depuis cette vidéo !)

Expand Down