Grammatical Errors + missing syntax highlighting (#23610)

This commit is contained in:
Manas Khurana
2018-12-07 14:42:31 +05:30
committed by Manish Giri
parent bc65ccf919
commit 5bd189d8d3

View File

@ -5,9 +5,9 @@ title: Progressive Enhancement
Progressive enhancement is the practice of building an application for a base level of user experience, but adding functional enhancements when a browser supports it.
Progressive enhancement is similar concept to graceful degradation but in reverse. It does not require us to select supported browsers or revert to table-based layouts. We choose a level of technology; i.e. the browser must support HTML 4.01 and standard page request/responses.
Progressive enhancement is a concept similar to graceful degradation, but in reverse. It does not require us to select supported browsers or revert to table-based layouts. We are the ones who decide the minimum level of technology that we want to support (e.g. the browser must support HTML 4.01 and standard page request/responses).
CSS has changed a lot in the last years. More and more properties were added and while some are now supported in all modern browsers some only work in one or two browsers. In any way, we can often make use of the architecture of CSS. If a browser doesnt know a property it will simple skip it without throwing an error.
CSS has changed a lot in the last few years. More and more properties have been added to the CSS specifications and while some of them are now supported by all modern browsers, there are some which only work properly in a few browsers. In any case, we can often make use of the way CSS works, for implementing progressive enhancement: if a browser doesnt support a property, it will simply skip it without throwing an error and parse the next property.
### Example
```css
@ -16,7 +16,7 @@ title: Progressive Enhancement
color: rgba(0,0,0,0.9);
}
```
In this case all browsers supporting rgba() will use the rgba() value for the color property. However, browsers not supporting rgba() will ignore this and use the value “black” for the color.
In this case all browsers supporting `rgba()` will use the `rgba()` value for the `color` property. However, browsers which do not support `rgba()` will ignore this and use the previously set `black` value for the `color` property.
### More information