@import
directive in Less. One can maintain the code structure easily by using the Less import directive and spread the code across different files. In the case of CSS, the @import
statement must precede all other rules, whereas, in Less @import
statement can be used anywhere in the code. @import “file_name.less”
@import
statement.@import
statement imports the file as it is.@import
directive.@import
statement defines the file in less.