Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 738 Bytes

readme.md

File metadata and controls

30 lines (22 loc) · 738 Bytes

@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>