DEV Community

karim coda
karim coda

Posted on

@supports (CSS)

#css

Cascading Style Sheets (CSS) is a simple language for adding style (e.g., fonts, colors, spacing) to HTML documents. It describes how HTML elements should be displayed.

#todayilearned

Summarize a concept that is new to you.

#beginners

"A journey of a thousand miles begins with a single step." -Chinese Proverb

Alt Text

If you are notified when using CSS features that are not supported by your browser, you have a support feature that lets you see if your browser supports this or not.

Syntax

Alt Text

The not Keyword

Although this feature shows you that the browser supports this feature there is not to show you that the browser does not support the property or supported and this property is not useful from my personal opinion
Alt Text


And, Or

And

Add another property with the first property
Alt Text

Or

Is to activate the property on one without the other

Alt Text

Top comments (0)