asp.net webforms C# 프로젝트에서 일하고 있습니다. 나는 less 파일을 만들고 컴파일했다. CSS의 일부로 aspx 파일 헤드 섹션에서 사용할 때 덜 파일의 클래스가 인식되지 않습니다. "(속성) :(값)"선언 "메시지에서 콜론 (:) 앞에 속성 이름이 없습니다.asp.net webforms에서 LESS 파일을 참조하는 방법은 무엇입니까?
내 LESS 파일, TreeviewStyle.less :
split-into-two{
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
-webkit-column-gap: 50px;
column-gap: 50px;
-moz-column-gap: 50px;
}
body {
}
내 영문 파일은
<head runat="server">
<title></title>
<link href="TreeviewStyle.css" rel="stylesheet" />
<style type="text/css">
div > ul {
.split-into-two;
}
</style>
</head>
덜 파일이 .css 파일로 컴파일 된 다음 참조하지 않았습니까? 편집 : 내가 잘못 아니었다 공식 [사이트] (http://lesscss.org/) 그것이 실제로 컴파일 된 것입니다 –