XF 2.2 Can I take notes in "extra.less" without causeing issues?

NandorHUN

Active member
Hi!

I want to modify a lot of header images in extra.less. Basically like 50+ content. Can I write it in small titles without issue to know which one stands for which topic?

Thanks.
 
Solution
Yes, like stated above, simply make a comment before each code snippet eg:

Code:
/* This does some header stuff */
.myclassforthiscode {
some code here
}

/* This does something else */
.anotherclass {
some more code here
}

An IRL example:
Code:
/* Resize signature images to 500x300 */

.message-signature img
{
    max-width: 500px;
    max-height: 300px;
}
Yes, like stated above, simply make a comment before each code snippet eg:

Code:
/* This does some header stuff */
.myclassforthiscode {
some code here
}

/* This does something else */
.anotherclass {
some more code here
}

An IRL example:
Code:
/* Resize signature images to 500x300 */

.message-signature img
{
    max-width: 500px;
    max-height: 300px;
}
 
Solution
Top Bottom