Hi Nathan,

My site uses scss, but I'm not really using much functionality of scss. I have 8 CSS stylesheets:

a reset CSS stylesheet
a CSS stylesheet for my mobile drop-down menu
six CSS stylesheets, one for each of my media query breaks (small phone, large phone, tablet, small notepad, large notepad, desktop).

Keeping these stylesheets separate makes it more convenient when I want to modify something. However, if I link to all 8 stylesheets separately in my index.html file, then my page would have to make 8 HTTP requests to get all of the CSS. I use Koala and scss to easily combine all 8 CSS stylesheets into a single "screen.css." The screen.css stylesheet is what gets downloaded. Only one HTTP request.

I believe scss also allows you to use variables and some programming logic in your CSS. I haven't done this yet. However, I know our corporate web site time uses scss this way.

Thanks,
Kelly

-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Nathan Andelin
Sent: Wednesday, July 15, 2015 10:37 AM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] A Responsive Single Page App (SPA) with 3 Issues to Consider


You need Ruby to compile Sass scss files into CSS using the Compass
gem


I'll follow up with some further research. But that rationale begs the question, why not just use a CSS editor to create CSS? What advantages does Sass scss have over CSS?
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.