04.07.2019 Views

frontend-developer-1

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Use LESS/CSS to Customize the Magento Look and Feel<br />

This is called:<br />

.another-element-selector {<br />

.element-selector(#0000ff);<br />

}<br />

Mixin parameters can be supplied in a format similar to a Javascript object and many<br />

in Magento are setup this way. When this is the case, one can pass in a subset of<br />

arguments by including the parameter’s name along with the argument value.<br />

HELPFUL LINKS:<br />

• http://lesscss.org/features/#mixins-feature<br />

Variables:<br />

Variables allow you to specify a value in one place and then use it in other<br />

locations (just like with programming). Magento makes heavy use of LESS variables<br />

(hopefully, someday we will see them simplified).<br />

HELPFUL LINKS:<br />

• http://lesscss.org/features/#variables-feature<br />

Copyright © 2018, SwiftOtter, Inc.<br />

107

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!