2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03: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
3 changed files with 6 additions and 2 deletions
+5
View File
@@ -575,6 +575,11 @@ output {
display: inline-block;
}
// Remove border from iframe
iframe {
border: 0;
}
// Summary
//
-1
View File
@@ -19,7 +19,6 @@
left: 0;
width: 100%;
height: 100%;
border: 0;
}
}
+1 -1
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