Skip to content

TryKickoff/kickoff-fluidVideo.css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@kickoff/fluidvideo.css

Simple fluid-width videos using CSS only

npm version

NPM

Install

npm install @kickoff/fluidvideo.css --save

Usage

With scss and the npm-sass or similar importer

@import "@kickoff/fluidvideo.css/index"
<div class="fluidVideo">
	<iframe class="fluidVideo-item" src="..."/>
</div>

<!-- add modifier for 4:3 aspect ratio -->
<div class="fluidVideo fluidVideo--4-3">
	<iframe class="fluidVideo-item" src="..."/>
</div>

About

Simple fluid-width videos using only CSS

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages