Sponsored Content
Full Discussion: CSS frameworks
Top Forums Web Development CSS frameworks Post 302785229 by hanson44 on Monday 25th of March 2013 06:26:32 AM
Old 03-25-2013
I personally feel that CSS frameworks are a bad idea.

If you stick with regular CSS, you are using the lowest common denominator and will be 100% compatible with anyone, can go anywhere. With the framework, you are stuck in that system, have backed yourself into a corner.

With regular CSS, you can validate the code to the point where there are zero errors. With the framework, that may not be possible. There might typically be errors in the framework code itself. You can't change that code, you're stuck with it.

With regular CSS, anybody can look at your files and understand them. With the framework, only the limited group who understands that special framework can make sense of your files.

With regular CSS, you will become expert at CSS, and can apply that knowledge anywhere. With the framework as a crutch, you may never really learn CSS.

I'm sure there are advantages to using a framework. Maybe if you are doing something quick and dirty, it's a good idea. But for the long run I think you are better off with CSS, either as part of a web site template or something you write from scratch.
This User Gave Thanks to hanson44 For This Post:
 

2 More Discussions You Might Find Interesting

1. Web Development

On Css

<html> <head> <style> div.box {width: 300px; height: 200px; padding: 30px; font: 46 pt times new roman;} </style> </head> <body> <div class="box" style=" filter": progid:DXImagetransform.Microsoft.Alpha (Opacity=100, FinishOpacity=0, Style=1, StartX=0, FinishX=0,... (0 Replies)
Discussion started by: N-Training
0 Replies

2. Web Development

Optimizing JS and CSS

Yes. Got few suggestions. - How about minifying resources - mod_expires - Service workers setup https://www.unix.com/attachments/web-programming/7709d1550557731-sneak-preview-new-unix-com-usercp-vuejs-demo-screenshot-png (8 Replies)
Discussion started by: Akshay Hegde
8 Replies
Plack::Middleware::File::Sass(3pm)			User Contributed Perl Documentation			Plack::Middleware::File::Sass(3pm)

NAME
Plack::Middleware::File::Sass - Sass and SCSS support for all Plack frameworks SYNOPSIS
use Plack::App::File; use Plack::Builder; builder { mount "/stylesheets" => builder { enable "File::Sass"; Plack::App::File->new(root => "./stylesheets"); }; }; # Or with Middleware::Static enable "File::Sass", syntax => "scss"; enable "Static", path => qr/.css$/, root => "./static"; DESCRIPTION
Plack::Middleware::File::Sass is a Plack middleware component that works with Plack::App::File or Plack::Middleware::Static to compile Sass <http://sass-lang.com/> templates into CSS stylesheet in every request. When a request comes in for .css file, this middleware changes the internal path to .sass or .scss, depending on the configuration, in the same directory. If the Sass template is found, a new CSS stylesheet is built on memory and served to the browsers. Otherwise, it falls back to the original .css file in the directory. This middleware should be very handy for the development. While Sass to CSS rendering is reasonably fast, for the production environment you might want to precompile Sass templates to CSS files on disk and serves them with a real web server like nginx or lighttpd. SASS BACKENDS
If you have the sass gem version higher than 3 installed and have the "sass" executable available in your PATH, this module automatically uses the command to convert Sass or SCSS into CSS. If the command is not available and you have Text::Sass perl module available, it will be used. Otherwise you'll get an exception during the initialization of this middleware component. OPTIONS
syntax Defines which syntax to use. Valid values are sass and scss. Defaults to sass. AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net> LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
Plack::App::File Text::Sass http://sass-lang.com/ <http://sass-lang.com/> perl v5.12.4 2011-02-14 Plack::Middleware::File::Sass(3pm)
All times are GMT -4. The time now is 11:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy