Results: 1580
Notes
  • Newest first
  • Oldest first
  • Newest first(All)
  • Oldest first(All)
.box {
    width: 100px + 200px;
}
by Valeri Tandilashvili
4 years ago
0
Sass
operators
Sass Tutorial for Beginners
0
.box {
    width: 500px / 2;
}
by Valeri Tandilashvili
4 years ago
0
Sass
operators
Sass Tutorial for Beginners
0
.box {
    width: 300px * 2;
}
by Valeri Tandilashvili
4 years ago
0
Sass
operators
Sass Tutorial for Beginners
0
hyphens
-
and underscores
_
are identical. This means that
$font-size
and
$font_size
both refer to the same variable
by Valeri Tandilashvili
4 years ago
0
Sass
variables
0
npm install -g sass
Then we can compile .scss file:
sass source/stylesheets/index.scss build/stylesheets/index.css
by Valeri Tandilashvili
4 years ago
0
Sass
0
AJAX = Asynchronous JavaScript And XML.
AJAX is not a programming language. AJAX just uses a combination of: A browser built-in XMLHttpRequest object (to request data from a web server) JavaScript and HTML DOM (to display or use the data) AJAX allows web pages to be updated asynchronously by exchanging data with a web server behind the scenes. This means that it is possible to update parts of a web page, without reloading the whole page.
by Luka Tatarishvili
4 years ago
0
JavaScript
info
0
SASS moduls vs native CSS modules
If we import CSS file using native CSS, it will make additional HTTP request, compared to SASS.
by Valeri Tandilashvili
4 years ago
0
Sass
0
by Valeri Tandilashvili
4 years ago
0
Sass
Sass Crash Course
0
@mixin avatar($size, $circle: false) {
  width: $size;
  height: $size;

  @if $circle {
    border-radius: $size / 2;
  }
}

.square-av { @include avatar(100px, $circle: false); }
.circle-av { @include avatar(100px, $circle: true); }
by Valeri Tandilashvili
4 years ago
0
Sass
conditionals
SASS documentation
0
$light-background: #f2ece4;
$light-text: #036;
$dark-background: #6b717f;
$dark-text: #d2e1dd;

@mixin theme-colors($light-theme: true) {
  @if $light-theme {
    background-color: $light-background;
    color: $light-text;
  } @else {
    background-color: $dark-background;
    color: $dark-text;
  }
}

.banner {
  @include theme-colors($light-theme: true);
  body.dark & {
    @include theme-colors($light-theme: false);
  }
}
by Valeri Tandilashvili
4 years ago
0
Sass
conditionals
SASS documentation
0
Results: 1580