1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-12-20 01:03:14 +00:00

docs(tailwind): object-fit

This commit is contained in:
Julien Le Coupanec 2020-03-28 23:07:29 +01:00
parent 54c206f63d
commit aeace17659

View File

@ -3,11 +3,9 @@
* DOCUMENTATION: https://tailwindcss.com/ * DOCUMENTATION: https://tailwindcss.com/
* ******************************************************************************************* */ * ******************************************************************************************* */
/* *******************************************************************************************
* AVAILABLE BREAKPOINTS
* ******************************************************************************************* */
/* /*
* Available breakpoints
* ----------
* sm: min-width: 640px; * sm: min-width: 640px;
* md: min-width: 768px; * md: min-width: 768px;
* lg: min-width: 1024px; * lg: min-width: 1024px;
@ -82,3 +80,16 @@
.clear-left /* clear: left; */ .clear-left /* clear: left; */
.clear-right /* clear: right; */ .clear-right /* clear: right; */
.clear-both /* clear: both; */ .clear-both /* clear: both; */
/*
* Object Fit
* ----------
* Utilities for controlling how a replaced element's content should be resized.
* By default, only responsive variants are generated for object-fit utilities.
*/
.object-contain /* object-fit: contain; */
.object-cover /* object-fit: cover; */
.object-fill /* object-fit: fill; */
.object-none /* object-fit: none; */
.object-scale-down /* object-fit: scale-down; */