What is the correct way to define a mixin in LESS?
Quiz styles in Magento 2

Quiz
•
Other
•
Professional Development
•
Medium
Dung Doan
Used 36+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
.my-mixin(@arguments) {
...
}
@my-mixin($arguments) {
...
}
=my-mixin(@arguments) {
...
}
@mixin my-mixin($arguments) {
...
}
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the special variable @arguments do in a LESS mixin?
Takes the arguments that were passed into the mixin an renders them in that order
Contains default arguments that are passed into the mixin an renders them in that order.
Defines additional arguments to be used in the mixin.
Contains default arguments that are passed to all mixins by the framework
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the main css files included in the default_head_blocks.xml file in a Magento theme? Select all that apply.
styles-m.css
styles-l.css
print.css
screen.css
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where should overrides of existing LESS variables be added?
<theme_dir>/web/css/source/_layout.less
<theme_dir>/web/css/source/_variables.less
<theme_dir>/web/css/source/lib/_variables.less
<theme_dir>/web/css/source/_theme.less
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command would you use to create symlinks to LESS files for the Magento/luma theme in the fr_FR locale?
bin/magento setup:static-content:deploy -f
bin/magento setup:static-content:deploy --area frontend --theme Magento/luma
bin/magento dev:source-theme:deploy --theme Magento/luma
bin/magento dev:source-theme:deploy --locale fr_FR --theme Magento/luma
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main difference between client-side and server-side compilation in Magento 2?
Client-side compilation is faster than server-side compilation
Server-side compilation is faster than client-side compilation
Client-side compilation is performed in the browser, while server-side compilation is performed on the server
Server-side compilation is performed in the browser, while client-side compilation is performed on the server
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you create an override for the core Magento UI library dropdowns in your theme?
theme_dir>/web/css/source/_dropdowns.less
<theme_dir>/Magento_Ui/web/css/source/lib/_dropdowns.less
<theme_dir>/lib/web/css/source/_dropdowns.less
<theme_dir>/web/css/source/lib/_dropdowns.less
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
JoJo Siwa 2021

Quiz
•
KG - Professional Dev...
18 questions
po 5-tos paskaitos (TARPINIS)

Quiz
•
Professional Development
10 questions
Repaso CSS (2/3)

Quiz
•
Professional Development
11 questions
E-commerce

Quiz
•
Professional Development
10 questions
CSS flexbox quiz

Quiz
•
Professional Development
20 questions
CSS Basics Quiz

Quiz
•
Professional Development
10 questions
Stitch

Quiz
•
KG - Professional Dev...
10 questions
DMK_U7

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade