Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SAS 2.18 KB | None | 0 0
  1. css3oef2.scss
  2.  
  3. @import "variables";
  4. @import "reboot";
  5. @import "mixincentraalblok";
  6.  
  7. body {
  8.     background-color: #c7eaf0;
  9.     color: #000;
  10. }
  11.  
  12. #container{
  13.     @include centraalblok(800px);
  14.     background-color: #fff;
  15.     color: #000;
  16. }
  17.  
  18. #flexcontainer{
  19.     display: flex;
  20.  
  21.     p{
  22.         flex: 1 1 auto;
  23.         padding: $basismarge;
  24.         border: $basismarge/2 solid #000;
  25.         margin: 2*$basismarge;
  26.         text-align: center;
  27.         color: $oranje;
  28.         background-color: inherit;
  29.         font-size: 7*$basismarge;
  30.         font-weight: bold;
  31.  
  32.         &:first-child{
  33.             transform:rotate(-5deg);
  34.         }
  35.  
  36.         &:nth-child(2){
  37.             transform: rotate(-10deg)
  38.         skewX(-10deg);
  39.         }
  40.  
  41.         &:last-child{
  42.             transform: skewY(30deg) scale(0.85);
  43.         }
  44.     }
  45. }
  46.  
  47. #img1{
  48.     background-color: $oranje;
  49.     border-radius: 50%;
  50.     transition: all 2s;
  51.  
  52.     &:hover{
  53.         border-radius: 0%;
  54.         background-color: $blauw;
  55.         transform: rotate(180deg);
  56.     }
  57. }
  58.  
  59. #animations, #achtergrond{
  60.     display: none;
  61. }
  62.  
  63. @media (min-width: 600px){
  64.     #animations, #achtergrond{
  65.         display: block;
  66.     }
  67.  
  68.     #achtergrond{
  69.         padding-top: 120px;
  70.         height: 180px;
  71.         background-image: url(#{$map}achtergrond.jpg);
  72.         background-repeat: repeat-x;
  73.     }
  74.  
  75.     @keyframes draaien{
  76.         100%{
  77.             transform: rotate(360deg);
  78.         }
  79.  
  80.     }
  81.  
  82.     .wiel{
  83.         animation-name: draaien;
  84.         animation-duration: 2s;
  85.         animation-timing-function: linear;
  86.         animation-iteration-count: infinite;
  87.     }
  88.  
  89.     .wiel1{
  90.         position: relative;
  91.         left: -225px;
  92.         top: 25px;
  93.  
  94.     }
  95.  
  96.     .wiel2{
  97.         position: relative;
  98.         left:-175px;
  99.         top: 20px;
  100.     }
  101.    
  102.     @keyframes rijden {
  103.         0%{
  104.             transform: translate(0px, 0px);
  105.         }
  106.  
  107.         100%{
  108.             transform: translate(140%, 0px);
  109.         }
  110.     }
  111.  
  112.     .geheel{
  113.         animation-name: rijden;
  114.         animation-duration: 4s;
  115.         animation-timing-function: linear;
  116.         animation-iteration-count: infinite;
  117.     }
  118. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement