less报错但是找不到错误原因怎么办

*{	margin: 0;	padding: 0;	box-sizing: border-box;	font-family: "微软雅黑";}a{	text-decoration: none;}body{	max-width: 1000px;	font-size: 16px;	margin: 0 auto;}.header{	width: 100%;	height: 30vh;	display: flex;	position: relative;	overflow: hidden;	&__a{		width: 100%;		display: block;		transition: all .5s;	}	&__img{		width: 100vw;		height: 100%;		img{			width: 100%;			height: 100%;		}	}	&__div{		position: absolute;		color: #eee;		*{			float: left;		}		a{			width: 16px;			height: 16px;			color: #eee;			margin-bottom: 3px;			img{				height: 100%;				width: 100%;			}			p{				font-size: 			}		}		i{			position: absolute;			display: block;			width: 16px;			height: 16px;			background: url(../images/search.png) no-repeat;			background-size: 100% 100%;		}		input{			width: 80vw;			background: rgba(250,250,250,.5);			border: none;			border-radius: 3px;		}	}}

https://img3.mukewang.com/5b8778730001c63b03930136.jpg为什么会报错呢

qq_陌_45
浏览 1624回答 1
1回答

qq_药药_0

你下编译器没有,或者能识别less的插件,如果你直接在浏览器上运行,浏览器不认识的less的。
打开App,查看更多内容
随时随地看视频慕课网APP