Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Validation CSS 3.0 not a known property name

I have multiple CSS pages and every CSS property gets the following warning:

Validation(CSS 3.0): "[]" is not a known property name.

I can run my code, that's not the problem as it's only a warning.

It wouldn't bother me if my code asked what properties are possible to use? I've searched for 2 days now and also reinstalled my VS2015. My colleague doesn't have that problem on the same program.

Any suggestions about what could be wrong?

A bit Code (everything is green underlined):

html, body {
    padding: 0;
    margin: 0;
    background-color: #CCC;
    overflow: hidden;
}

.wrapper {
    position: fixed;
    background-color: #CCC;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 0;
    left: 0px !important;
    top:  0px !important;
    margin-bottom: 0px;
}

.menu {
    position: fixed;
    background-color: #333;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 320px;
    height:100%;
    padding: 0;
    left: 0px !important;
    top: 0px !important;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    align-items: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

}

Hope thats clear enough ;)

like image 488
MaxW Avatar asked Sep 24 '15 08:09

MaxW


3 Answers

In case people are still searching for an answer to this puzzling issue, I found restarting visual studio resolved it for me.

like image 50
yohann Avatar answered Nov 04 '22 01:11

yohann


In visula studio CSS version would have selected to CSS3.0 change it to older the problem will be solved. enter image description here

like image 2
Parasmani Batra Avatar answered Nov 04 '22 02:11

Parasmani Batra


Adding Web Essentials solved the problem.

like image 1
MaxW Avatar answered Nov 04 '22 00:11

MaxW