0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Remove borders from iframes by default (#30620)

This commit is contained in:
Martijn Cuppens 2020-04-29 20:32:35 +02:00 committed by GitHub
parent 8bee113008
commit ed2caa5117
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -575,6 +575,11 @@ output {
display: inline-block;
}
// Remove border from iframe
iframe {
border: 0;
}
// Summary
//

View File

@ -19,7 +19,6 @@
left: 0;
width: 100%;
height: 100%;
border: 0;
}
}

View File

@ -10,7 +10,7 @@ toc: true
Rules are directly applied to `<iframe>`, `<embed>`, `<video>`, and `<object>` elements; optionally use an explicit descendant class `.embed-responsive-item` when you want to match the styling for other attributes.
**Pro-Tip!** You don't need to include `frameborder="0"` in your `<iframe>`s as we override that for you.
**Pro-Tip!** You don't need to include `frameborder="0"` in your `<iframe>`s as we override that for you in [reboot]({{< docsref "/content/reboot" >}}).
## Example