Working with css on different devices when I need to show image on different devices
with different width I do:
@media only screen and (min-width: 1280px) { /* Extra large ≥ 1200px */
.category_image {
max-width: 1030px;
height: auto;
padding: 1px;
border: $border-separator-color;
}
...
@media only screen and (min-width: 768px) and (max-width: 991px) { /* Ipad Pro md */
.category_image {
max-width: 580px;
height: auto;
padding: 1px;
border: $border-separator-color;
}
Now working with tailwindcss 2 I wonder if there a better way for this purpose?
Thanks!