Home > Features > Enjoying a Different View (Mode) With CSS Media Queries • Bookmark   • Newsletters   • Register Search Options


Enjoying a Different View (Mode) With CSS Media Queries

Enjoying a Different View (Mode) With CSS Media Queries

September 23, 2012
Text size: 
View in Digital Mag
Get XBIZ News
XBIZ Research
Will virtual reality boost the paysite market?
Yes, it will soon
Yes, but in a few years
Out of 179 votes. Results based on votes submitted by members of XBIZ.net social network.

" The floating and full screen modes in particular, provide unique visual opportunities for forward-looking designers. "

Today’s adult entertainment consumer is seeking cutting-edge viewing options across a wide range of platforms; from bigscreen TVs to small-screen mobile devices and all types of computer displays, content publishers are striving to suit the needs of a “one size does not fit all” audience.

According to W3.org, the CSS viewmode specification “defines a media feature to match the different visual presentation modes that can be applied to web applications and thereby apply different styling based on these different modes using CSS media queries.”

W3C says its role in making this formal recommendation is to draw attention to the finalized specification and to promote its widespread deployment as a way of enhancing “the functionality and interoperability of the web” — and XBIZ is happy to help:

The standards-body explains that whether in-browser or deployed as widgets, on most platforms, web applications can be run in multiple visual modes.

“At times they may occupy the entire screen, at others they may be minimized to a specific docking area; at times they may have chrome that matches the operating system’s style while at others they may be providing their own controls in order to provide for a more immersive experience,” the recommendation states.

“The user is generally in control of at least several aspects of these modalities, and it is therefore important for authors to be able to react to these in order to provide different styling to their applications.”

As a result, W3C defined the view-mode media feature to include several values — “floating,” “fullscreen,” “maximized,” “minimized” and “windowed.”

W3.org provides this simple example of view-mode style sheet coding:

@media handheld and (viewmode: floating) and (orientation: landscape) { // ... }
@media tv and (view-mode: windowed) { // ... }
@media handheld and (viewmode: fullscreen) { // ... }

As you can see, view-mode allows coders to target not only by type of display device, but in the case of tablets and the like, by the way it is held.

For image and video-rich adult entertainment applications, the floating and fullscreen modes in particular, provide unique visual opportunities for forward-looking designers.

The latest version of the full specification is available online (www.w3.org/TR/).


‘Alternative Facts’ of PC vs. Mac Users

Now that we live in a world of “alternative facts” it feels like somehow everyone has become a little more critical about what information and data they are digesting, and where it came from. Don’t... More »

Putting a Dollar Figure on Your Website's Worth

Daily, I get asked the question, “what’s my website worth.” And it’s the hardest question for me to answer. Someone will go to my website and fill out the contact form, put in... More »

New Solutions Require a Bullheadedness, Different Process

Each January we lead a small group of industry leaders on a tour of the crazy innovations at the Consumer Electronic Show in Las Vegas. It’s a grind on our bodies. We all train for it beforehand.... More »
Stay informed of the latest industry developments. Get XBIZ newsletters delivered to your inbox. Subscribe today!
Enter email address:

* To manage existing subscriptions click here.

Submit your press release to
multiple news outlets with 1 click.
Subscribe to RSS news feeds or
add free content to your website.
Access XBIZ news and articles
with your mobile device.
Subscribe to XBIZ Premiere magazine, the industry's leading adult retail trade publications, delivering the most timely and comprehensive business news and information to producers and retailers of adult products.



Mar 31 - Apr 02
Denver, CO.

Eurowebtainment 2017

May 17 - May 20
Majorca, Spain

XBIZ Retreat

May 30 - Jun 03
Miami, Florida

XBIZ Miami 2017

May 30 - Jun 02
Miami, Florida
Everyday thousands of business professionals browse XBIZ's industry directory for quality products and services. Not listed yet? Your company could be losing potential new business. Submit your company today!
Use XBIZ RSS feeds to stay informed of the latest industry developments or as a content syndication tool for your website!