Home > Features > Syntactically Awesome Style Sheets • Bookmark   • Newsletters   • Register Search Options

FEATURE

Syntactically Awesome Style Sheets

Syntactically Awesome Style Sheets

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

" For adult website operators outsourcing coding to multiple programmers, designers and coders, sticking to the basics, rather than getting too clever, may be the best bet. "

According to its promoters, Syntactically Awesome Style Sheets or “Sass” for short (www.sass-lang.com), is “style with attitude” that makes CSS fun again. Sass extends CSS3 by adding nested rules, mixins, selector inheritance, variables and other features, combining them into CSS using the command line tool or a web-framework plugin.

This, for example, allows users to specify a color once, rather than repeated across all of its intended elements; or to more efficiently handle vendor-prefixes.

Using the extension “.sass,” these indented syntax files will continue to be supported, but are no longer the primary syntax; having been replaced by SCSS, or “Sassy CSS,” which is a superset of CSS3’s syntax. These files use a “.scss” extension and are more similar in appearance to traditional CSS, so valid CSS3 is also valid SCSS.

In practice, Sass can eliminate much of the redundancy found in many complicated style sheets, while providing enhanced functionality that is not part of the CSS standard.

Some experts feel that any performance benefits are negligible at best and that these tools are more akin to offering coders a choice of how they work; not unlike the option to view black text against a white background, or white text against a black background — with no other change in the text itself — it’s just a fashion thing.

Casual users, on the other hand, could find that Sass adds an additional layer of complexity to simple projects. Sass is also written in Ruby, requiring this software on the user’s computer in order to function. OS X users will already have it, but Windows users will need the RubyInstaller (www.rubyinstaller.org/downloads/).

Although all webmasters appreciate clean, readable and well-formatted code, what is important is having standards-compliance, where W3C valid HTML and CSS is the goal: tools that help operators achieve this are a plus, but fancy new tools alone are not enough.

For adult website operators outsourcing coding to multiple programmers, designers and coders, sticking to the basics, rather than getting too clever, may be the best bet.


PROFILES & BIOS

Cam World: Q&A With Studio 20’s Andra Chirnogeanu

One of the blue-ribbon studios in the cam biz is Studio 20, which is now a global brand, with locations on both sides of the Atlantic — from Romania to Hollywood, Calif. Of course, with every strong... More »

Cam World: Model of Month Jenny Blighe Is Red-Hot

Have you found out about MyFreeCams sensation Jenny Blighe, the fiery Arkansas redhead? For the past four years, Blighe’s been camming on an almost-daily basis on MyFreeCams, building a loyal fan... More »

Justin Sayne Leather Expands Team, Gears Up for Eventful 2017

When Justin Sayne looks back on 2016, he will likely remember it as a year in which his Arizona-based company, Justin Sayne Leather, grew by leaps and bounds. Important new hires joined the company, Sayne... More »
XBIZ NEWSLETTERS
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.






POPULAR PRODUCTS & SERVICES
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.
Access the latest issues of the industry's leading trade publications in digital form. View online or download for offline viewing.

UPCOMING EVENTS

The European Summit

Mar 04 - Mar 07
Barcelona-Sitges, Spain

The TEA Show

Mar 05 - Mar 06
Hollywood, CA

Phoenix Forum 2017

Mar 23 - Mar 26
Tempe, Arizona

EXXXOTICA Denver

Mar 31 - Apr 02
Denver, CO.
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!