Sam
Sam

Reputation: 61

CSS/JQUERY – Check if website is being viewed on Smart TV or Smart Fridge

I've designed a website which users are encouraged to use on their phones and laptops. However, when I view the website on a Smart Fridge and Smart TV, I want it to display a div which shows the logo and a QR code to scan.

Is there a CSS query which can detect whether the user is viewing the website from fridge/tv? I cannot find any valuable reference.

Example:

@media (fridge) {
#qr-code {
    display: block;
}

Upvotes: 0

Views: 136

Answers (0)

Related Questions