Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: HTML
Posted by: Marosi Dóra
Added: Dec 7, 2020 8:17 PM
Views: 4
Tags: no tags
  1. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" version="1.1" baseProfile="full" style="position: absolute;    top: 0;    right: 0;    width: 50%;    height: 100vh;">
  2.     <clipPath id="bcg-clip-1">
  3.         <path d="M180,0c0,0-177.4,93-163.7,311.4c13.6,217.7,171.3,284.9,190.9,291c79.4,24.4,111.4,40.9,325.1-29.6 s345.5,100,345.5,100s75.6,77.7,100,90.9c15.7,8.5,64.5,29.4,105.4-0.1L1925.3,0H1022.9z"/>
  4.     </clipPath>        
  5.     <image clip-path="url(#bcg-clip-1)" width="1245" height="780" xlink:href="<?php echo ($image_data[0]); ?>" preserveAspectRatio="xMidYMin slice"></image>            
  6. </svg>
  7.