Embeds - Bootstrap
Có thể bạn quan tâm
- Introduction
- Download
- Contents
- Browsers & devices
- JavaScript
- Theming
- Build tools
- Webpack
- Accessibility
- Overview
- Grid
- Media object
- Utilities for layout
- Reboot
- Typography
- Code
- Images
- Tables
- Figures
- Alerts
- Badge
- Breadcrumb
- Buttons
- Button group
- Card
- Carousel
- Collapse
- Dropdowns
- Forms
- Input group
- Jumbotron
- List group
- Modal
- Navs
- Navbar
- Pagination
- Popovers
- Progress
- Scrollspy
- Tooltips
- Borders
- Clearfix
- Close icon
- Colors
- Display
- Embed
- Flex
- Float
- Image replacement
- Position
- Screenreaders
- Sizing
- Spacing
- Text
- Vertical align
- Visibility
- Approach
- Icons
- Overview
- Brand
- License
- Translations
- About
- Example
- Aspect ratios
Create responsive video or slideshow embeds based on the width of the parent by creating an intrinsic ratio that scales on any device.
About
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.
Example
Wrap any embed like an <iframe> in a parent element with .embed-responsive and an aspect ratio. The .embed-responsive-item isn’t strictly required, but we encourage it.
<div class="embed-responsive embed-responsive-16by9"> <iframe class="embed-responsive-item" src="https://www.youtube.com/embed/zpOULjyy-n8?rel=0" allowfullscreen></iframe> </div>Aspect ratios
Aspect ratios can be customized with modifier classes.
Từ khóa » Video Học Bootstrap 4
-
[Intro] Học Tất Cả Về Bootstrap 4 Thông Qua Việc Làm 5 Project Web
-
Hướng Dẫn Học Bootstrap 4 - Thiết Kế Layout Phần 1 - YouTube
-
Bài 3: Tạo Header Cho Website Trong Bootstrap 4 Alpha - YouTube
-
01-Viết Từ đầu 1 Trang Web Responsive Sử Dụng Bootstrap 4, HTML5 ...
-
Bài 1 Cài đặt Và Giới Thiệu Về Bootstrap 4 Alpha - YouTube
-
Lab 1.B1. Sử Dụng Bootstrap 4 Bố Cục (Layout) Cho Trang Web
-
01 Khóa Học Bootstrap 4 Tạo ứng Dụng đầu Tiên Với Bootstrap4
-
Học Bootstrap 4, Video Bootstrap 4 - Bài 6: Reponsive Các Màn Hình ...
-
Video Hướng Dẫn Học Bootstrap 4 - Thiết Kế Layout Phần 2
-
HTML Tutorial - W3Schools
-
ThanhDevs/LearnBootstrap4: Khóa Học Bootstrap 4 - GitHub
-
JavaScript Tutorial - W3Schools
-
Hướng Dẫn Tạo Trang Trình Bày Video Bằng Bootstrap - HocwebGiare
-
Khoá Học Bootstrap Miễn Phí - CodeGym Online