Advertisement
Guest User

Flexbox prefix in safari

a guest
Mar 1st, 2015
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.36 KB | None | 0 0
  1. Hello.
  2. I got a problem with Flexbox prefix in Safari.
  3. I can't get any of it to work, i hope some of you can help me!
  4.  
  5. /*BASE-STYLES*/
  6. .flex {
  7.    display: -webkit-box;
  8.    display: -webkit-flex;
  9.    display: flex;
  10. }
  11. .flexwrap {
  12.   -webkit-flex-wrap: wrap;
  13.   flex-wrap: wrap;
  14. }
  15. .flex1 {
  16.    -webkit-flex: 1;
  17.    flex: 1;
  18. }
  19. .flexstart{
  20.    -webkit-box-pack: start;
  21.    -webkit-justify-content: start;
  22.    justify-content: flex-start;
  23. }
  24. .flexcenter{
  25.    -webkit-box-pack: center;
  26.    -webkit-justify-content: center;
  27.    justify-content: center;
  28. }
  29. .flexend{
  30.    -webkit-box-pack: end;
  31.    -webkit-justify-content: end;
  32.    justify-content: flex-end;
  33. }
  34. .alignstart{
  35.    -webkit-box-align: start;
  36.    -webkit-align-items: start;
  37.    align-items: flex-start;
  38. }
  39. .aligncenter{
  40.    -webkit-box-align: center;
  41.    -webkit-align-items: center;
  42.    align-items: center;
  43. }
  44. .alignend{
  45.    -webkit-box-align: end;
  46.    -webkit-align-items: end;
  47.    align-items: flex-end;
  48. }
  49. .flexspaceA{
  50.    -webkit-box-pack: space-around;
  51.    -webkit-justify-content: space-around;
  52.    justify-content: space-around;
  53. }
  54. .flexspaceB{
  55.    -webkit-box-pack: space-between;
  56.    -webkit-justify-content: space-between;
  57.    justify-content: space-between;
  58. }
  59. .column{
  60.    -webkit-box-orient: vertical;
  61.    -webkit-flex-direction: column;
  62.    flex-direction: column;
  63. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement