Advertisement
Guest User

Untitled

a guest
Dec 17th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.89 KB | None | 0 0
  1. @media only screen and (min-width:769px){
  2.             div{
  3.                 float:left;
  4.             }
  5.             canvas{
  6.                 border:1px solid black;
  7.                 display:none;
  8.             }
  9.             #mygtukas{
  10.                 display:none;
  11.             }
  12.             #wrapper {
  13.                 height:800px;
  14.                 width:100%;
  15.             }
  16.             #sviesiaimelyna {
  17.                 background-color:lightblue;
  18.                 width:100%;
  19.                 height:10%;
  20.             }
  21.             #ruda {
  22.                 background-color:brown;
  23.                 width:35%;
  24.                 height:20%;
  25.             }
  26.             #orandzine {
  27.                 background-color:orange;
  28.                 width:25%;
  29.                 height:40%;
  30.                 float:right;
  31.             }
  32.             #melyna {
  33.                 background-color:blue;
  34.                 width:20%;
  35.                 height:40%;
  36.                 float:right;
  37.             }
  38.             #juoda {
  39.                 color:white;
  40.                 background-color:black;
  41.                 width:35%;
  42.                 height:35%;
  43.             }
  44.             #zalia {
  45.                 background-color:green;
  46.                 width:45%;
  47.                 height:15%;
  48.             }
  49.             #raudona {
  50.                 background-color:red;
  51.                 width:60%;
  52.                 height:35%;
  53.                 opacity: 0.75;
  54.             }
  55.             #geltona {
  56.                 background-color:yellow;
  57.                 width:20%;
  58.                 height:35%;
  59.             }
  60.             #balta {
  61.                 background-color:white;
  62.                 width:20%;
  63.                 height:90%;
  64.                 float:right;
  65.             }
  66. }
  67.             @media only screen and (max-width:768px) {
  68.             div{
  69.                 width:100%;
  70.                 height:100%;
  71.                 float:left;
  72.             }
  73.             canvas{
  74.                 border:1px solid black;
  75.             }
  76.             #juoda img {
  77.             border:5px dotted yellow;
  78.            
  79.             }
  80.             #zalia img{
  81.             border:5px dotted blue;
  82.             }
  83.             #sviesiaimelyna {
  84.                 background-color:lightblue;
  85.                 width:100%;
  86.                 height:10%;  
  87.             }
  88.             #ruda{
  89.                 background-color:brown;
  90.                 width:35%;
  91.                 height:20%;
  92.             }
  93.             #ruda{
  94.                 animation-name: keiciaspalva;
  95.                 animation-duration: 5s ;
  96.                 animation-iteration-count: infinite;
  97.             }
  98.  
  99.             #orandzine{
  100.                 background-color:orange;
  101.                 width:45%;
  102.                 height:40%;
  103.                 float:right;
  104.             }
  105.             #melyna {
  106.                 background-color:blue;
  107.                 width:20%;
  108.                 height:40%;
  109.                 display:none;
  110.             }
  111.             #juoda {
  112.                 color:white;
  113.                 background-color:black;
  114.                 width:35%;
  115.                 height:35%;
  116.             }
  117.             #juoda:hover{
  118.                 animation-name: pasukimas ;
  119.                 animation-duration: 5s ;
  120.                 animation-timing-function: ease-in;
  121.                 animation-iteration-count: infinite;
  122.             }
  123.             #zalia {
  124.                 background-color:green;
  125.                 width:45%;
  126.                 height:15%;
  127.             }
  128.             #zalia:hover ~ #raudona {
  129.                 -webkit-animation-name:pulsavimas;
  130.                 -webkit-animation-duration:1s;
  131.                 -webkit-animation-iteration-count:infinite;
  132.                 -webkit-transition-timing-function:ease-in;
  133.             }
  134.             #raudona {
  135.                 background-color:red;
  136.                 width:80%;
  137.                 height:35%;
  138.                 opacity: 0.75;
  139.             }
  140.             #geltona {
  141.                 background-color:yellow;
  142.                 width:20%;
  143.                 height:35%;
  144.                 display:none;
  145.             }
  146.             #balta {
  147.                 background-color:white;
  148.                 width:20%;
  149.                 height:90%;
  150.                 float:right;
  151.  
  152.             }
  153.             }
  154.             @keyframes keiciaspalva {
  155.             from {background-color: brown;}
  156.             to {background-color:blue; }
  157.             0%{transform: translateY(100%);}
  158.             100%{transform: translateX(0%);}
  159.             }
  160.             @-webkit-keyframes pulsavimas{
  161.             0%   { color: white;}
  162.             50%  { color: blue;}
  163.             100% { color: white;}
  164.             }
  165.             @keyframes pasukimas{
  166.             100%{transform: rotate(180deg);}
  167.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement