what is a css preprocessor? what are sass, less, and stylus? why do people use them?

1 0
2 years ago 949 views
A CSS Preprocessor is a tool used to extend the basic functionality of default vanilla CSS through its own scripting language. It helps us to use complex logical syntax like – variables, functions, mixins, code nesting, and inheritance to name a few, supercharging your vanilla CSS. SASS: Sass is the acronym for “Syntactically Awesome Style Sheets”. SASS can be written in two different syntaxes using SASS or SCSS SASS vs SCSS SASS is based on indentation and SCSS(Sassy CSS) is not. SASS uses .sass extension while SCSS uses .scss extension. SASS doesn’t use curly brackets or semicolons. SCSS uses it, just like the CSS.

what is a marquee?

1 0
2 years ago 787 views
Marquee is used to put the scrolling text on a web page. It scrolls the image or text up, down, left or right automatically. You should put the text which you want to scroll within the <marquee>......</marquee> tag. Marquee HTML tag is a non-standard HTML element which is used to scroll a image or text horizontally or vertically. In simple words, you can say that it scrolls the image or text up, down, left or right automatically. Marquee tag was first introduced in early versions of Microsoft's Internet Explorer. It is compared with Netscape's blink element.

what are traits?

1 0
2 years ago 795 views
Traits are a mechanism that allows you to create reusable code in languages like PHP where multiple inheritance is not supported.
PHP