How can clients without Ruby view web pages using SASS?


Tags: css,ruby,sass

Problem :

If an individual is visiting a website that uses SASS and they don't have ruby installed on their machine, how is their computer able to compile the SASS into CSS so they can view the website properly?



Solution :

It doesn't. Something on the server compiles SASS or whatever into regular CSS (and HAML or whatever into regular HTML, and Coffeescript into Javascript). Usually this is done as part of the app deployment. That said, there may be javascript-based sass translators. There's one for Less: http://en.wikipedia.org/wiki/Less_%28stylesheet_language%29


    CSS Howto..

    How do I avoid a fullscreen background image to scale with appearing scroll bars?

    how to turn off the break word in css? [duplicate]

    How to make ScrollPanel only visible when its inside widget is higher than it & not visible when its inside widget is shorter than it?

    How to scroll an html element both horizontally and vertically with top and side labels scrolling correctly

    CSS/Javascript: How to make rotating circular menu with multiple states?

    hide show div using nav html5 query javascript

    How can i use css frameworks without cluttering html with too many classes [closed]

    Icon with overhead label - how to get both to respond to hover, with CSS?

    How to vertically center content in before or after in CSS

    How To Center Align Menu Through CSS?

    How do I get a value from the style element?

    How prevent inheriting “position: relative” CSS

    How to word wrap text in HTML?

    How do I vertically align multiple text next to an image with CSS?

    CSS: How to create a
  • with 100% width
  • Color of links not always showing correctly

    How do I use a gradient as a font color in CSS?

    How to choose font different font-weight? use bolder one or just font-weight?

    HTML5 CSS (How to on hover image ignore transparent)

    How to align a background image to bottom of table cells in css?

    how to center horizontally div and span elements using css

    WordPress TwentyTen menu: how to CSS-select sub-menus in a specific position?

    How to place HTML elements over inline SVG

    Jquery: show IMG on click

    How to create an absolutely positioned submenu which appears on css hover

    CSS: How to make input fill rest of line, with a button on the right?

    How to split an HTML paragraph up into its lines of text with JavaScript

    How to remove hover effect for some of the cells in angularjs

    How do I use Parent page to get attributes for wp_nav_menu buttons?

    How to do the right positioning of css elements?