Browse
For agents
About
Elementor Website Builder – more than just a page builder
/
3.8.0
Elementor Website Builder – more than just a page builder
v3.8.0
Switch version
4.3.1
4.3.0
4.3.0-beta3
4.3.0-beta2
4.3.0-beta1
4.2.4
4.2.3
4.2.2
4.2.1
4.2.0
4.1.5
4.2.0-beta2
4.2.0-dev2
4.2.0-beta1
4.1.4
4.1.3
4.1.2
4.1.1
4.1.0
4.1.0-beta3
4.1.0-dev3
4.0.9
4.1.0-beta2
4.1.0-dev2
4.0.8
All 454 releases
Overview
Code
elementor
/
app
/
assets
/
styles
/
functions
/
_map-collect.scss
_map-collect.scss
in Elementor Website Builder – more than just a page builder 3.8.0, at app/assets/styles/functions/_map-collect.scss
13 lines
379 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
//
Map Collect function
2
//
Since the builtin map-merge function in Sass only take 2 arguments, it can only merge 2 maps at a time.
3
//
The map-collect function below allows you to combine multiple maps together in a cleaner way.
4
5
@
function
map-collect
(
$maps
...
)
{
6
$collection
:
(
)
;
7
8
@
each
$map
in
$maps
{
9
$collection
:
map-merge
(
$collection
,
$map
)
;
10
}
11
@
return
$collection
;
12
}
13