mirror of
https://github.com/jenil/chota.git
synced 2023-08-10 21:13:07 +03:00
utils: add 🆕 responsive helpers
This commit is contained in:
parent
63dac8abf7
commit
2b83e17e19
7
dist/chota.css
vendored
7
dist/chota.css
vendored
@ -929,11 +929,16 @@ button:disabled:hover {
|
||||
display: none !important;
|
||||
}
|
||||
@media screen and (max-width: 599px) {
|
||||
.hide-xs {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 600px) and (max-width: 899px) {
|
||||
.hide-sm {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 600px) and (max-width: 1199px) {
|
||||
@media screen and (min-width: 900px) and (max-width: 1199px) {
|
||||
.hide-md {
|
||||
display: none !important;
|
||||
}
|
||||
|
2
dist/chota.min.css
vendored
2
dist/chota.min.css
vendored
File diff suppressed because one or more lines are too long
@ -41,8 +41,9 @@
|
||||
<li><code>is-marginless</code> - removes any margin</li>
|
||||
<li><code>clearfix</code> - clears the floats</li>
|
||||
<li><code>is-hidden</code> - hides the element completely</li>
|
||||
<li><code>hide-sm</code> - hides the element for screens <600px</li>
|
||||
<li><code>hide-md</code> - hides the element for screens >=600px and <=1200px</li>
|
||||
<li><code>hide-xs</code> - hides the element for screens <600px</li>
|
||||
<li><code>hide-sm</code> - hides the element for screens >=600px and <900px</li>
|
||||
<li><code>hide-md</code> - hides the element for screens >=900px and <1200px</li>
|
||||
<li><code>hide-lg</code> - hides the element for screens >=1200px</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
@ -169,12 +169,18 @@
|
||||
}
|
||||
|
||||
@media screen and (max-width: 599px) {
|
||||
.hide-xs {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 600px) and (max-width: 899px) {
|
||||
.hide-sm {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 600px) and (max-width: 1199px) {
|
||||
@media screen and (min-width: 900px) and (max-width: 1199px) {
|
||||
.hide-md {
|
||||
display: none !important;
|
||||
}
|
||||
|
@ -386,6 +386,11 @@
|
||||
<div class="card bg-error">.bg-error</div>
|
||||
</div>
|
||||
</div>
|
||||
<h4>Responsive Helpers</h4>
|
||||
<div class="hide-xs">.hide-xs</div>
|
||||
<div class="hide-sm">.hide-sm</div>
|
||||
<div class="hide-md">.hide-md</div>
|
||||
<div class="hide-lg">.hide-lg</div>
|
||||
</section>
|
||||
<section>
|
||||
<h1>Icons</h1>
|
||||
|
Loading…
Reference in New Issue
Block a user