简体   繁体   中英

.less and css “padding: @reference”

I am configuring a Magento theme which uses .less files and compiles these to .css for the frontend.

And here I'm trying to change the padding on an element which is:

.pad-main {
    padding: @cpanel-home-main-block-padding;
}

Where could @cpanel-home-main-block-padding be referencing to, is this another .less file? I cannot find this, any help is appreciated.

Thank you, Matt

It is pointing to a less variable. You could search for the name of the variable in less files. It may be pointing to one the imported less files.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM