Reputation:
In Visual Studio, I create a new ASP.NET project. It creates a basic construct that one can then go in and edit.
In the Site.css file, there are these calls, I'm guessing each is valid for a different type of browser:
background-image: -ms-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
background-image: -o-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7ac0da), color-stop(1, #a4d4e6));
background-image: -webkit-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
Believe it or not, I can't seem to find a single entry on the entire Internet for -ms-linear-gradient, -o-linear-gradient, -webkit-gradient, or -webkit-linear-gradient.
I'm just trying to find some documentation on what sort of parameters each of these functions is expecting. If they are like javascript, then they accept multiple versions of parameters.
Would someone mind linking or posting a little documentation on here?
Upvotes: 2
Views: 39
Reputation: 43910
According to CanIUse.com, you can use one ruleset without the vendor prefixes (i.e. just use linear-gradient
)
Upvotes: 2