Skip to content

nicetransition/Intrinsic-Ratio-for-SASS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intrinsic Ratio for Sass

A reusable helper-class to be used in your next project.


How To Use


	<div class="intrinsic">
		<div class="intrinsic__wrapper">
			<div class="intrinsic__wrapper__element">
				Just apply a `padding-bottom` based on your aspect ratio ( example: 4:3 = 75% )
				on  `intrinsic__wrapper__element` and this will keep an aspect ratio
			</div>
		</div>
	</div>

About

A reusable class to be used in a dynamic stylesheet language (LESS or SASS). Includes comments.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages