Gomuboy

Circles - CSS

Nov 19th, 2015
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.15 KB | None | 0 0
  1. body
  2.     {
  3.         overflow: hidden;
  4.         font-family: "Segoe UI Light";
  5.         color: #999999;
  6.         background-image: url(wall.jpg);
  7.         background-size: 1920px 1080px;
  8.     }
  9.  
  10. a
  11.     {
  12.         text-decoration: none;
  13.         color: #999999;
  14.         line-height: 25px;
  15.     }
  16.  
  17. #bgimg
  18.     {
  19.         z-index: -10;
  20.         position: fixed;
  21.         background-size: cover;
  22.         background-repeat: no-repeat;
  23.     }
  24.  
  25. #container
  26.     {
  27.         width: 100%;
  28.         display: table;
  29.     }
  30.  
  31. span
  32.     {
  33.         width: inherit;
  34.         height: inherit;
  35.         line-height: 145px;
  36.         font-size: 30px;
  37.         color: #999999;
  38.     }
  39.    
  40. #cell
  41.     {
  42.         display: table-cell;
  43.         vertical-align: middle;
  44.         text-align: center;
  45.     }
  46.  
  47. .sqr
  48.     {
  49.         display: inline-block;
  50.         width: 150px;
  51.         height: 150px;
  52.         margin: 350px 8% 0% 8%;
  53.         border-radius: 100px;
  54.         background-color: #121212;
  55.         font-size: 20px;
  56.         position: relative;
  57.     }
  58.    
  59. .crcl
  60.     {
  61.         border-radius: 1000px;
  62.         position: relative;
  63.         z-index: 1;
  64.         bottom: 300px;
  65.         right: 155px;
  66.         width: 450px;
  67.         height: 450px;
  68.         /*border: 1px solid black;*/
  69.     }
  70.    
  71. .crcl [class^='linq']
  72.     {
  73.         position: absolute;
  74.         width: 150px;
  75.         height: 150px;
  76.         border-radius: 100px;
  77.         background-color: #121212;
  78.         visibility: hidden;
  79.         /*border: solid 1px #00ff00;*/
  80.     }
  81.  
  82.  
  83. /*==================Div Arriba a la izquierda==============*/
  84.    
  85. .linq1
  86.     {
  87.         top: 75px;
  88.         left: 75px;
  89.         animation-name: move;
  90.         animation-duration: 0.5s;
  91.         animation-play-state: paused;
  92.     }
  93.  
  94. @keyframes move1
  95.         {
  96.             0%
  97.                 {
  98.                     transform: translate( 0px, 0px );
  99.                     opacity: 0;
  100.                 }
  101.                
  102.             100%
  103.                 {
  104.                     transform: translate(-95px, 0px);  
  105.                     opacity: 1;
  106.                 }
  107.         }  
  108.    
  109. .crcl:hover .linq1
  110.     {
  111.         animation-name: move1;
  112.         transition-timing-function: ease-out;
  113.         visibility: inherit;
  114.         animation-play-state: running;
  115.         animation-fill-mode: forwards;
  116.     }
  117.    
  118. /*==================Div Arriba a la derecha==============*/
  119.  
  120. .linq2
  121.     {
  122.         top: 75px;
  123.         left: 230px;
  124.         animation-name: move;
  125.         animation-duration: 0.5s;
  126.         animation-play-state: paused;
  127.     }
  128.  
  129. @keyframes move2
  130.         {
  131.             0%
  132.                 {
  133.                     transform: translate( 0px, 0px );  
  134.                     opacity: 0;
  135.                 }
  136.                
  137.             100%
  138.                 {
  139.                     transform: translate( 95px, 0px ); 
  140.                     opacity: 1;
  141.                 }
  142.         }  
  143.    
  144. .crcl:hover .linq2
  145.     {
  146.         animation-name: move2;
  147.         transition-timing-function: ease-out;
  148.         visibility: inherit;
  149.         animation-play-state: running;
  150.         animation-fill-mode: forwards;
  151.     }
  152.  
  153. /*==================Div Abajo a la izquierda==============*/
  154.  
  155. .linq3
  156.     {
  157.         top: 225px;
  158.         left: 75px;
  159.         animation-name: move;
  160.         animation-duration: 0.5s;
  161.         animation-play-state: paused;
  162.     }
  163.  
  164. @keyframes move3
  165.         {
  166.             0%
  167.                 {
  168.                     transform: translate( 0px, 0px );  
  169.                     opacity: 0;
  170.                 }
  171.                
  172.             100%
  173.                 {
  174.                     transform: translate( -35px, 75px );   
  175.                     opacity: 1;
  176.                 }
  177.         }  
  178.    
  179. .crcl:hover .linq3
  180.     {
  181.         animation-name: move3;
  182.         transition-timing-function: ease-out;
  183.         visibility: inherit;
  184.         animation-play-state: running;
  185.         animation-fill-mode: forwards;
  186.     }
  187.  
  188. /*==================Div Abajo a la derecha==============*/ 
  189.    
  190. .linq4
  191.     {
  192.         top: 225px;
  193.         left: 230px;
  194.         animation-name: move;
  195.         animation-duration: 0.5s;
  196.         animation-play-state: paused;
  197.     }
  198.  
  199. @keyframes move4
  200.         {
  201.             0%
  202.                 {
  203.                     transform: translate( 0px, 0px );  
  204.                     opacity: 0;
  205.                 }
  206.                
  207.             100%
  208.                 {
  209.                     transform: translate( 35px, 75px );
  210.                     opacity: 1;
  211.                 }
  212.         }  
  213.    
  214. .crcl:hover .linq4
  215.     {
  216.         animation-name: move4;
  217.         transition-timing-function: ease-out;
  218.         visibility: inherit;
  219.         animation-play-state: running;
  220.         animation-fill-mode: forwards;
  221.     }
  222.    
  223. /*==================Div Entre los 2 de arriba, usar linq5==============*/
  224.  
  225.    
  226. .linq5
  227.     {
  228.         top: 75px;
  229.         left: 155px;
  230.         animation-name: move;
  231.         animation-duration: 0.5s;
  232.         animation-play-state: paused;
  233.     }
  234.  
  235. @keyframes move5
  236.         {
  237.             0%
  238.                 {
  239.                     transform: translate( 0px, 0px );  
  240.                     opacity: 0;
  241.                 }
  242.                
  243.             100%
  244.                 {
  245.                     transform: translate( 0px, -115px );   
  246.                     opacity: 1;
  247.                 }
  248.         }  
  249.        
  250. .crcl:hover .linq5
  251.     {
  252.         animation-name: move5;
  253.         transition-timing-function: ease-out;
  254.         visibility: inherit;
  255.         animation-play-state: running;
  256.         animation-fill-mode: forwards;
  257.     }
  258.  
  259. /*==================Div Entre los 2 de abajo, usar linq6==============*/
Advertisement
Add Comment
Please, Sign In to add comment