You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
581 B
CSS
36 lines
581 B
CSS
4 years ago
|
/*
|
||
|
FLUIDITY v0.1.0
|
||
|
@mrmrs - http://mrmrs.cc
|
||
|
MIT
|
||
|
*/
|
||
|
/*
|
||
|
|
||
|
Responsive Utilities
|
||
|
|
||
|
*/
|
||
|
img, canvas, iframe, video, svg, select, textarea {
|
||
|
max-width: 100%; }
|
||
|
|
||
|
/* Wrap tables or pre elements in a div with this class */
|
||
|
.overflow-container {
|
||
|
overflow-x: scroll; }
|
||
|
|
||
|
/*
|
||
|
Aspect ratios for media objects i.e canvas, iframe, video, svg etc.
|
||
|
Defaults to 16x9
|
||
|
*/
|
||
|
.aspect-ratio {
|
||
|
height: 0;
|
||
|
padding-top: 56.25%;
|
||
|
position: relative; }
|
||
|
|
||
|
.aspect-ratio--object {
|
||
|
height: 100%;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
z-index: 100; }
|