FUNCTION | SASS & SCSS | LECTURE 8 | SCSS SERIES | MOST EASY WAY
Автор: TECH With EASE
Загружено: 2022-11-16
Просмотров: 78
Описание:
Functions are defined using the @function at-rule, which is written
@function name(arguments...) { ... }.
A function’s name can be any Sass identifier. It can only contain universal statements, as well as the @return at-rule which indicates the value to use as the result of the function call.
Functions are called using the normal CSS function syntax:
SCSS SYNTAX
@function pow($base, $exponent) {
$result: 1;
@for $_ from 1 through $exponent {
$result: $result * $base;
}
@return $result;
}
.sidebar {
float: left;
margin-left: pow(4, 3) * 1px;
}
Thanks for watching this video...
Subscribe to @techwithease5415 for such videos..
#sass #scss #frontend #frontenddeveloper #development #developer #developers #sassy
#subscribers #subscribe #sub #youtube #youtuber #youtubers #subscribetomychannel #youtubechannel #subscriber #subforsub #subs #subscribeforsubscribe #follow #like #subscriberyoutube #newyoutuber #smallyoutubersupport #smallyoutubercommunity #smallyoutuber #k #youtubesubscribers #youtubevideos #youtuberindonesia #jualsubscribe #smallyoutuberarmy #smallyoutubers #jualsubscribers #subscribersyoutube #youtubevideo #subyoutube
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: