NandorHUN Active member Dec 13, 2020 #1 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.
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 DarkGizmo Dec 13, 2020 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; }
SyTry Well-known member Dec 13, 2020 #2 Hello, You mean something like this : CSS: /* your title */ .myClass { your-code: 123; } Regards, SyTry Upvote 1 Downvote
Hello, You mean something like this : CSS: /* your title */ .myClass { your-code: 123; } Regards, SyTry
DarkGizmo Well-known member Dec 13, 2020 #3 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; } Upvote 1 Downvote 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; }