-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from bpd01001/css-questions-browser-specific-st…
…yling initial commit: vendor prefixes
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
03 - CSS/how-would-you-approach-fixing-browser-specific-styling-issues.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
To approach browser specific styling issues, vendor or browser prefixes should be applied to the front of certain styling properties. This will allow browsers to use certain styling features that aren't yet fully supported by all browsers in a standard. | ||
|
||
Here are all the CSS browser prefixes: | ||
Android: | ||
-webkit- | ||
Chrome: | ||
-webkit- | ||
Firefox: | ||
-moz- | ||
Internet Explorer: | ||
-ms- | ||
iOS: | ||
-webkit- | ||
Opera: | ||
-o- | ||
Safari: | ||
-webkit- | ||
|
||
If including a vendor prefix for a property, all vender prefixed versions should be included first before the standalone property: | ||
-webkit-transition: all 4s ease; | ||
-moz-transition: all 4s ease; | ||
-ms-transition: all 4s ease; | ||
-o-transition: all 4s ease; | ||
transition: all 4s ease; | ||
|