Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Reset iframe styles #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 8 additions & 2 deletions src/reset.css
Expand Up @@ -46,10 +46,11 @@ a:not([class]) {
text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
/* Make images and iframes easier to work with */
iframe,
img {
max-width: 100%;
display: block;
max-width: 100%;
}

/* Natural flow and rhythm in articles by default */
Expand All @@ -70,6 +71,11 @@ img:not([alt]) {
filter: blur(10px);
}

/* Remove border from iframes */
iframe {
border: 0;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

border: none;

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nah it's fine

}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
* {
Expand Down