Friday, January 20, 2012

Mac-specific CSS

Is there a simple way to include CSS that's specific for Macs? I.e. not just Safari as a user.agent but all browsers on Mac.

The issue I'm looking to fix is that the default scrollbar in Macs appears to be 2px smaller than in Windows. We have some CSS in place to accommodate it and we have some discrepancies.

I'm looking at the -webkit-scrollbar CSS styles as a way to mitigate this but if there's an "@if platform macos" rule, that would be helpful.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/xV1emP7QLbgJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment