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

Responsive embed helper classes #5

Merged
merged 1 commit into from
Mar 23, 2017

Conversation

mmistakes
Copy link
Owner

Add responsive embed helper classes for fluid-width videos and other embedded content.
cc #2

Usage:

<!-- 16:9 aspect ratio -->
<div class="embed-responsive embed-responsive-16by9">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>

<!-- 4:3 aspect ratio -->
<div class="embed-responsive embed-responsive-4by3">
  <iframe class="embed-responsive-item" src="..."></iframe>
</div>

@mmistakes mmistakes merged commit 7a1993a into master Mar 23, 2017
@mmistakes mmistakes deleted the feature/responsive-video-embeds branch March 23, 2017 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant