dropshado.ws

Conditional CSS doesn't work in Chrome (opens in new tab)

currently doesn’t work in Chrome. @media all and (min-width: 45em) { body:after { content: 'widescreen'; display: none; } } The problem is with how when set to display: none. My current solution/hack is to fallback to the head font-size code, as Opera now supports this. @media screen and (min-width: 45em) { head { font-family: widescreen; } } Thx .

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help