Sass append() Function
You are Here:
Example
The append()
function returns a copy of a list with a value added to the end.
Example
SASS TO CSS CONVERTER
.foo{
margin: append(10px 15px, 20px);
margin: append(10px 15px, 20px, $separator: comma);
}
Syntax
append($list, $val, $separator);
Parameter Value
Value | Type | Explanation |
---|---|---|
$list | Required | Specifies a list. |
$val | Required | Specifies the values to be appended to the list. |
$separator | Optional | Specifies a character separator between the list and value. The following are the possible values
|
Return Value
Value | Explanation |
---|---|
list | Returns a copy of $list with $val added to the end. |
Reminder
Hi Developers, we almost covered 99.1% of Sass Tutorials with examples for quick and easy learning.
We are working to cover every Single Concept in Sass.
Please do google search for:
Join Our Channel
Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.
This channel is primarily useful for Full Stack Web Developer.