KandZ – Tuts

We like to help…!

CSS 38 ๐Ÿ’ป monochrome and orientation media features

a - monochrome media feature
monochrome media feature is used to test the numbers of bits per pixel
Typically on devices that cannot handle color accurately
You can also use min-monochrome and max-monochrome
@media (monochrome) { }โ†’ applies styles to any monochrome device
@media (monochrome: 0) { }โ†’ applies styles to non-monochrome device
@media (min-monochrome: 1) { } โ†’ applies styles specific to monochrome devices with at least 1 bits per pixel (bpp)
@media (min-monochrome: 8) { } โ†’ applies styles specific to monochrome devices with maximum 8 bits per pixel (bpp)

b - orientation media feature
orientation media feature allows you to apply different styles based on user's screen orientation
This is useful for creating responsive designs that adapt to how the context is being viewed
values: portrait โ†’ the height is greater or equal to the width
landscape โ†’ the width is greater than the height
@media screen and (orientation: portrait) { } โ†’ applies styles for portrait orientation
@media screen and (orientation: landscape) { } โ†’ applies styles for landscape orientation

Stop using slow, ad-bloated tool sites! ๐Ÿคฎ

๐Ÿ”Ž Search “KandZ Tools” on Google to use many professional utilities for free.

KandZ.me is the ultimate minimalist hub for:
โœ… Finance (Mortgage, Interest, Inflation)
โœ… Tech (Base64, JSON, Dev Suite, IP)
โœ… Health (BMI, BMR, TDEE)
โœ… Productivity (Timer, Workspace, QR)

โšก๏ธ Fast & Private
๐Ÿ”’ No data leaves your device
๐Ÿ’Ž 100% Free

๐Ÿ”— Use it now: https://tools.kandz.me
๐Ÿ”– Bookmark itโ€”youโ€™ll need it later!

Leave a Reply