Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
ideas:css3-exclusions-use-cases [2011/10/28 10:09] – created vhardyideas:css3-exclusions-use-cases [2011/10/28 10:30] – [CSS Exclusions and Shapes] vhardy
Line 422: Line 422:
 <html> <html>
 <head> <head>
 +        <circle id="circle" cx="50%" cy="50%" width="50%" height="50%" />
  <style type="text/css">   <style type="text/css"> 
   
  /* with SVG shape */   /* with SVG shape */ 
  #article{  #article{
- shape-inside: polygon(x1,y1 ...xn,yn); + shape-inside: url(#circle); 
  wrap-padding: 10px;  wrap-padding: 10px;
-   
  background-image: url(airplane.png);   background-image: url(airplane.png); 
- background-position: center center;  
-     mask-box-image: url(circle.png) 100 stretch; 
- color:blue; 
- } 
-  
- /* with image */  
- #article{ 
- shape-image: url(circle.png); 
- shape-image-threshold: 100%;  
- wrap-padding: 10px; 
-   
- background-image: url(airplane.png);  
- background-position: center center;  
-     mask-box-image: url(circle.png) 100 stretch; 
  color:blue;  color:blue;
  }  }
 
ideas/css3-exclusions-use-cases.txt · Last modified: 2014/12/09 15:48 by 127.0.0.1
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki