Web Analytics Made Easy -
StatCounter Less CSS - CodingForum

Announcement

Collapse
No announcement yet.

Less CSS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Less CSS

    Hi,
    I am New to LESS CSS. Just wanna know that, should we make separate files of Mixin and Variable or carry a single file of LESS which contains both variables and mixin?

  • #2
    Hi there Drajkumar11in,

    and a warm welcome to these forums.

    I would suggest that Less CSS is an oxymoron.

    It relies on "Javascript" for fcuk's sake.

    coothead
    ~ the original bald headed old fart ~

    Comment


    • #3
      To try to answer you question....

      I myself use Sass and I have my variables in separate files in a different directory (I don't do too many mixins) that way it's easier to transport from one project to another project. Less and Sass are just tools that make it easier to write CSS and see changes on the fly pretty easily just my opinion.
      "A person who never made a mistake never tried anything new." ~ Albert Einstein https://www.miniaturephotographer.com

      Comment


      • #4
        Originally posted by Strider64 View Post
        Less and Sass are just tools that make it easier to write CSS
        Easier... I hear that all the time about this bloated rubbish; LESS, SASS, frameworks... People keep on using that word. EASIER!!!



        I do-no' thin' it means what you thin' it means....

        "I could give you my word as a jQuery programmer..."
        "No good, I've known to many jQuery programmers."

        @Drajkumar11in, do yourself a favor, forget "LESS" -- unless your markup is incompetant trash, you are using broken site-building methodologies, and in general fail to grasp how to use selectors properly, 99% of what LESS and SASS do for you is either pointless bloat, idiotic redundancies, and in general just make you work harder, not smarter.

        ... and remember, the largest CMS in the world rarely has any legitimate reason to have more than 48k of CSS for the entire site in two files per media target (typically one will do); that's deployed code WITHOUT minification. The only reason to even have more than that is developer ineptitude... and really if you can't handle managing the 24-32k most sites warrant without a tool like LESS/SASS/whatever, it might be time to back away from the keyboard.

        Much like all the other scam artist idiocy out there, the only thing you can learn from it is how NOT to build a website. Developers are dumber for it even existing.
        Walk the dark path, sleep with angels, call the past for help.
        https://cutcodedown.com
        https://medium.com/@deathshadow

        Comment


        • #5


          Originally posted by deathshadow View Post
          People keep on using that word. EASIER!!!
          It is just one of the many scam words that are used to encourage mass stupidity.

          "Easy" quickly becomes synonymous with another scam word; "better".
          Then, before you know it, "better" has become synonymous with "correct".

          The masses will now experience a warm self-satisfied feeling that comes from this
          transformation and the powers-that-be can contentedly smile benignly.

          Freethinkers, on the other hand, have always been discouraged by the establishment.
          Well, they don't want any buggers rocking the boat do they.



          coothead
          ~ the original bald headed old fart ~

          Comment


          • #6
            Once the CSS has been generated from the LESS or SASS you may as well throw LESS and SASS away - how often do you actually need to generate a brand new set of CSS commands for the web site.

            Of course someone doing web design and creating thousands of different web sites a year might benefit from one or the other of those if they didn't already have their own library of CSS combinations to cut and paste to achieve all of what they need (in other words they haven't created more than a handful of sites before).
            Stephen
            Learn Modern JavaScript - http://javascriptexample.net/
            Helping others to solve their computer problem at http://www.felgall.com/

            Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

            Comment


            • #7
              Originally posted by coothead View Post
              "Easy" quickly becomes synonymous with another scam word; "better".
              Then, before you know it, "better" has become synonymous with "correct".
              You know, there's a term for those words: "Glittering Generalities" -- they usually go good with bandwagon, card stacking, testimonial, and transfer. Harder to work into name calling and plain folks -- though not impossible if by inference and transfer you take otherwise positive terms, like "free thinker", "critical thinking", or even just a single word like "critical" and make people associate it with being a negative connotation.

              Hey look -- there's all seven. I really need to write an article about those for my site... toss that on the to-do list right after "the flaw of averages and statistical card-stacking".
              Walk the dark path, sleep with angels, call the past for help.
              https://cutcodedown.com
              https://medium.com/@deathshadow

              Comment


              • #8
                Blah Blah Blah, deathshadow (not surprise by his response) and fellgall sound like mother hens. I can I see a copy of your mensa cards? LOL
                "A person who never made a mistake never tried anything new." ~ Albert Einstein https://www.miniaturephotographer.com

                Comment


                • #9
                  Originally posted by Strider64 View Post
                  Blah Blah Blah, deathshadow (not surprise by his response) and fellgall sound like mother hens. I can I see a copy of your mensa cards? LOL
                  They are right, though. All this CSS preprocessor bullsh** is a waste of time and resources. I once had to work with SASS for a redesign of a website where another developer was involved with me. The lengths I had to go through to install npm, grunt, and some npm plugins just to write/edit some CSS was ridiculous. And all this for a standard website that will stay this way for at least the next two or three years and will then be completely redesigned again. There is no advantage whatsoever in using a preprocessor. Together with the unnecessary use of angular.js for some functionality I could tell that this was a software programmer’s approach to web development.
                  Stop solving problems you don’t yet have!

                  Comment


                  • #10
                    Originally posted by Strider64 View Post
                    Blah Blah Blah
                    About what I'd expect for a reaction from someone who'd abuse a list for obviously tabular data, slap endless pointless classes on everything, doesn't know how to use numbered headings properly, and stick em fonts in pixel width columns -- resulting in twice the markup needed on every project and broken layouts.

                    Just saying.

                    If LESS, SASS, SCSS or OOCSS have any "advantages", I've sure as shine-ola never seen them. They just blow smoke up people's backsides and promote ignorance. They are not easier, faster, or better in any sense of the word no matter how many people parrot those terms. The same way second rate religious zealots do with tolerance and enlightenment, or flag-waving politico's when they say liberty and freedom while quite clearly meaning the exact opposite.

                    Hence the easily recognized seven core propaganda techniques that seem to be at the core of all these junk idiotic nonsensical halfwit BS "frameworks" and "preprocessors". They just prevent people from learning to do anything properly, quickly, or sanely in favor of a "just slop it out any old way, who gives a flying ****" mindset and methodology...

                    The result being fat, bloated, slow, harder to develop, harder to maintain laundry lists of how NOT to build a website!

                    The real kicker being most always the result is at LEAST as much CSS as you'd have without the framework or preprocessor, and TWICE the markup... and I'll never understand how writing more code is "easier". That's a pretty damned good delusion they've sold people there; Goebbels would stand in rock-star awe of it.

                    Admittedly, slopping out two to twenty times the HTML needed seems to be standard operating procedure these days, and garbage advice from places like CSSLint and the bait and switch Google did with Pagespeed Insights certainly aren't helping.

                    Side note -- hey, long time no see, right?
                    Last edited by deathshadow; Sep 24, 2016, 10:04 PM.
                    Walk the dark path, sleep with angels, call the past for help.
                    https://cutcodedown.com
                    https://medium.com/@deathshadow

                    Comment


                    • #11

                      Originally posted by deathshadow View Post
                      Goebbels would stand in rock-star awe of it.
                      That is probably true, but you should bear in mind that...
                      "But poor old Goebbels had no balls at all"

                      coothead
                      ~ the original bald headed old fart ~

                      Comment

                      Working...
                      X