Advertisement
Guest User

Untitled

a guest
Apr 28th, 2019
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.93 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.   <title>Ignacio Garcias Awesome Website</title>
  5.   <style>
  6. svg{
  7.   border: 5px red solid;
  8.   height:600px;
  9.   width:600px;
  10. }
  11.   </style>
  12. </head>
  13. <body>
  14.   <h1>SPRING TIME BOIIIIS</h1>
  15.   <br>
  16. <svg>
  17.   <defs>
  18.   <lineargradient id="linear3" x1="0%" y1="0%" x2="0%" y2="100%">
  19.         <stop offset="0%" stop-color="blue"/>
  20.         <stop offset="83%" stop-color="green"/>
  21.         <stop offset="100%" stop-color="green"/>
  22.   </lineargradient>
  23.    
  24.     </defs>
  25.  
  26.    
  27.     <g>
  28.     <path
  29.       stroke="red"
  30.       fill="none"
  31.       stroke-width="10px"
  32.       d="m02,500 C12,200 600,200 600,500"
  33.       /><!--red-->
  34.     <path
  35.       stroke="orange"
  36.       fill="none"
  37.       stroke-width="10px"
  38.       d="m12,500 C22,210 590,210 590,500"
  39.       /> <!--orange-->
  40.     <path
  41.       stroke="yellow"
  42.       fill="none"
  43.       stroke-width="10px"
  44.       d="m22,500 C32,220 580,220 580,500"
  45.       /> <!--yellow-->
  46.     <path
  47.       stroke="yellow"
  48.       fill="none"
  49.       stroke-width="10px"
  50.       d="m32,500 C32,230 570,230 570,500"
  51.       /> <!--yellow-->
  52.     <path
  53.       stroke="hsl(90, 100%, 50%)"
  54.       fill="none"
  55.       stroke-width="10px"
  56.       d="m42,500 C42,240 560,240 560,500"
  57.       /> <!--Green-->
  58.     <path
  59.       stroke="blue"
  60.       fill="none"
  61.       stroke-width="10px"
  62.       d="m52,500 C52,250 550,250 550,500"
  63.       /> <!--blue-->
  64.       <path
  65.       stroke="hsl(275, 100%, 25%)   "
  66.       fill="none"
  67.       stroke-width="10px"
  68.       d="m62,500 C62,260 540,260 540,500"
  69.       /> <!--purple-->
  70.     </g>
  71.    
  72.  <rect x="295" y="430" width="10" height="100" style="stroke:none; fill: hsl(90, 100%, 47%);"/>
  73.   <circle cx="300" cy="430" r="1"  stroke="black" stroke-width="2" fill="yellow">
  74.    
  75.     <!--<animate attributeName="cy"-->
  76.     <!--from="610"-->
  77.     <!--to="430"-->
  78.     <!--begin="0s"-->
  79.     <!--dur="1s"-->
  80.     <!--repeatcount="1"-->
  81.     <!--fill="freeze"/>-->
  82.  
  83.       <animatetransform
  84.       attributeType="xml"
  85.       attributeName="r"
  86.       type="scale"
  87.       from="1 "
  88.       to="20"
  89.        begin="2s"
  90.        dur="2s"
  91.        repeatCount="indefinite"
  92.        fill="freeze"
  93.       />
  94.      
  95.         </circle>
  96.   <ellipse cx="20" cy="20" rx="7" ry="15" style="fill:hsl(300, 100%, 94%); stroke:hsl(326, 81%, 84%);stroke-width:3px;">
  97.    
  98.     <animate attributename="cx"
  99.   from="50"
  100.   to="150"
  101.   begin="10s"
  102.   dur="5s"
  103.   repeatcount="indefinite"
  104.   fill="freeze"/>
  105.    
  106.     <animatetransform attributeName="transform"
  107.       type="scale"
  108.       from="1 1"
  109.       to="1 1 "
  110.        begin="4s"
  111.        dur="10s"
  112.        repeatCount="freeze"
  113.       />
  114.    
  115.     <animatetransform attributeName="transform"
  116.     type="rotate"
  117.     from="0 100 100"
  118.     to="360 100 100"
  119.     begin="9s"
  120.     dur="10s"
  121.     repeatCount="indefinite"
  122.     />
  123.     </ellipse>
  124.  
  125.  
  126.  
  127.  
  128.  
  129. <rect x="0" y="500" width="600" height="100" style="stroke:none; fill:hsl(120, 100%, 30%);"/>
  130.  
  131. </svg>
  132.  
  133.  
  134.  
  135. </body>
  136. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement