<!DOCTYPE html> <html> <head> <style> div.a { width: 150px; height: 80px; background-color: yellow; //-moz-transform: rotate(20deg); //-ms-transform: rotate(20deg); -webkit-transform: rotate(20deg); //transform: rotate(20deg); } </style> </head> <body> <h1>The transform Property</h1> <div class="a">Hello World!</div> </body> </html>
Showing posts with label SCSS. Show all posts
Showing posts with label SCSS. Show all posts
Tuesday, May 18, 2021
Transform CSS Property
Wednesday, April 28, 2021
SASS, SCSS ? What is that ?
https://sass-lang.com/guide - Variables, Nesting, Mixins, Partials, Modules, Inheritance, Operators
- npm install -g sass
- sass input.scss output.css
- sass --watch input.scss output.css
2 Types of Syntaxes
- .scss - Brackets, Semicolon, More Popular
- .saas - Indentation, Newline
When you install Sass on the command line, you'll be able to run the sass executable to compile .sass and .scss files to .css files.
---------------------------------------------------------------------------------------------------------------------------------------------------------------
https://dev.to/olawanle_joel/sass-vs-scss-odf
From the homepage of the language
Sass has two syntaxes. The new main syntax (as of Sass 3) is known as “SCSS” (for “Sassy CSS”), and is a superset of CSS3’s syntax.
This means that every valid CSS3 stylesheet is valid SCSS as well. SCSS files use the extension .scss.
The second, older syntax is known as the indented syntax (or just “Sass”).
Inspired by Haml’s terseness, it’s intended for people who prefer conciseness over similarity to CSS.
Instead of brackets and semicolons, it uses the indentation of lines to specify blocks.
Although no longer the primary syntax, the indented syntax will continue to be supported. Files in the indented syntax use the extension .sass.
SASS is an interpreted language that spits out CSS. The structure of Sass looks like CSS (remotely), but it seems to me that the description is a bit misleading; it's not a replacement for CSS, or an extension.
It's an interpreter which spits out CSS in the end, so Sass still has the limitations of normal CSS, but it masks them with simple code.
Sass has two syntaxes. The new main syntax (as of Sass 3) is known as “SCSS” (for “Sassy CSS”), and is a superset of CSS3’s syntax.
This means that every valid CSS3 stylesheet is valid SCSS as well. SCSS files use the extension .scss.
The second, older syntax is known as the indented syntax (or just “Sass”).
Inspired by Haml’s terseness, it’s intended for people who prefer conciseness over similarity to CSS.
Instead of brackets and semicolons, it uses the indentation of lines to specify blocks.
Although no longer the primary syntax, the indented syntax will continue to be supported. Files in the indented syntax use the extension .sass.
SASS is an interpreted language that spits out CSS. The structure of Sass looks like CSS (remotely), but it seems to me that the description is a bit misleading; it's not a replacement for CSS, or an extension.
It's an interpreter which spits out CSS in the end, so Sass still has the limitations of normal CSS, but it masks them with simple code.
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Subscribe to:
Posts (Atom)
Azure - Pipeline - Add Approver for Stage
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass
-
https://www.baeldung.com/spring-properties-file-outside-jar https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-featu...
-
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass
-
The decision was made to block such external HTTP repositories by default https://stackoverflow.com/questions/66980047/maven-build-failure-d...