CSS clip-path property (for HTML)

Method of defining the visible region of an HTML element using SVG or a shape definition.

Spec https://www.w3.org/TR/css-masking-1/#the-clip-path
Status W3C Candidate Recommendation
IE Edge Firefox Chrome Safari Opera
      98 (2)    
    95 97 (2)    
    94 96 (2) TP (2,*)  
11 95 (2) 93 95 (2) 15 (2,*) 80 (2)
10 94 (2) 92 94 (2) 14.1 (2,*) 79 (2)
9 93 (2) 91 93 (2) 14 (2,*) 78 (2)
8 92 (2) 90 92 (2) 13.1 (2,*) 77 (2)
Show all
7 91 (2) 89 91 (2) 13 (2,*) 76 (2)
6 90 (2) 88 90 (2) 12.1 (2,*) 75 (2)
5.5 89 (2) 87 89 (2) 12 (2,*) 74 (2)
  88 (2) 86 88 (2) 11.1 (2,*) 73 (2)
  87 (2) 85 87 (2) 11 (2,*) 72 (2)
  86 (2) 84 86 (2) 10.1 (2,*) 71 (2)
  85 (2) 83 85 (2) 10 (2,*) 70 (2)
  84 (2) 82 84 (2) 9.1 (2,*) 69 (2)
  83 (2) 81 83 (2) 9 (2,*) 68 (2)
  81 (2) 80 81 (2) 8 (2,*) 67 (2)
  80 (2) 79 80 (2) 7.1 (2,*) 66 (2)
  79 (2) 78 79 (2) 7 (2,*) 65 (2)
  18 (4,5) 77 78 (2) 6.1 64 (2)
  17 76 77 (2) 6 63 (2)
  16 75 76 (2) 5.1 62 (2)
  15 74 75 (2) 5 60 (2)
  14 73 74 (2) 4 58 (2)
  13 72 73 (2) 3.2 57 (2)
  12 71 72 (2) 3.1 56 (2)
    70 71 (2)   55 (2)
    69 70 (2)   54 (2)
    68 69 (2)   53 (2)
    67 68 (2)   52 (2)
    66 67 (2)   51 (2)
    65 66 (2)   50 (2)
    64 65 (2)   49 (2)
    63 64 (2)   48 (2)
    62 63 (2)   47 (2)
    61 62 (2)   46 (2)
    60 61 (2)   45 (2)
    59 60 (2)   44 (2)
    58 59 (2)   43 (2)
    57 58 (2)   42 (2)
    56 57 (2)   41 (2,*)
    55 56 (2)   40 (2,*)
    54 55 (2)   39 (2,*)
    53 (1,3) 54 (2,*)   38 (2,*)
    52 (1,3) 53 (2,*)   37 (2,*)
    51 (1,3) 52 (2,*)   36 (2,*)
    50 (1,3) 51 (2,*)   35 (2,*)
    49 (1,3) 50 (2,*)   34 (2,*)
    48 (1,3) 49 (2,*)   33 (2,*)
    47 (1,3) 48 (2,*)   32 (2,*)
    46 (1) 47 (2,*)   31 (2,*)
    45 (1) 46 (2,*)   30 (2,*)
    44 (1) 45 (2,*)   29 (2,*)
    43 (1) 44 (2,*)   28 (2,*)
    42 (1) 43 (2,*)   27 (2,*)
    41 (1) 42 (2,*)   26 (2,*)
    40 (1) 41 (2,*)   25 (2,*)
    39 (1) 40 (2,*)   24 (2,*)
    38 (1) 39 (2,*)   23 (2,*)
    37 (1) 38 (2,*)   22 (2,*)
    36 (1) 37 (2,*)   21 (2,*)
    35 (1) 36 (2,*)   20 (2,*)
    34 (1) 35 (2,*)   19 (2,*)
    33 (1) 34 (2,*)   18 (2,*)
    32 (1) 33 (2,*)   17 (2,*)
    31 (1) 32 (2,*)   16 (2,*)
    30 (1) 31 (2,*)   15 (2,*)
    29 (1) 30 (2,*)   12.1
    28 (1) 29 (2,*)   12
    27 (1) 28 (2,*)   11.6
    26 (1) 27 (2,*)   11.5
    25 (1) 26 (2,*)   11.1
    24 (1) 25 (2,*)   11
    23 (1) 24 (2,*)   10.6
    22 (1) 23   10.5
    21 (1) 22   10.0-10.1
    20 (1) 21   9.5-9.6
    19 (1) 20   9
    18 (1) 19    
    17 (1) 18    
    16 (1) 17    
    15 (1) 16    
    14 (1) 15    
    13 (1) 14    
    12 (1) 13    
    11 (1) 12    
    10 (1) 11    
    9 (1) 10    
    8 (1) 9    
    7 (1) 8    
    6 (1) 7    
    5 (1) 6    
    4 (1) 5    
    3.6 (1) 4    
    3.5 (1)      
    3      
    2      
Safari on iOS Opera Mini Android Browser Blackberry Browser Opera Mobile Android Chrome Android Firefox IE Mobile Android UC Browser Samsung Internet QQ Browser Baidu Browser KaiOS Browser
15 (2,*) all 94 (2) 10 64 (2) 94 (2) 92 11 12.12 (2,*) 15.0 (2,*) 10.4 (2,*) 7.12 (2) 2.5 (1,3)
14.5-14.8 (2,*)   4.4.3-4.4.4 (2,*) 7 12.1     10   14.0 (2,*)      
14.0-14.4 (2,*)   4.4 (2,*)   12         13.0 (2,*)      
13.4-13.7 (2,*)   4.2-4.3   11.5         12.0 (2,*)      
Show all
13.3 (2,*)   4.1   11.1         11.1-11.2 (2,*)      
13.2 (2,*)   4   11         10.1 (2,*)      
13.0-13.1 (2,*)   3   10         9.2 (2,*)      
12.2-12.5 (2,*)   2.3             8.2 (2,*)      
12.0-12.1 (2,*)   2.2             7.2-7.4 (2,*)      
11.3-11.4 (2,*)   2.1             6.2-6.4 (2,*)      
11.0-11.2 (2,*)                 5.0-5.4 (2,*)      
10.3 (2,*)                 4 (2,*)      
10.0-10.2 (2,*)                        
9.3 (2,*)                        
9.0-9.2 (2,*)                        
8.1-8.4 (2,*)                        
8 (2,*)                        
7.0-7.1 (2,*)                        
6.0-6.1                        
5.0-5.1                        
4.2-4.3                        
4.0-4.1                        
3.2                        

Notes

Support refers to the clip-path CSS property on HTML elements specifically. Support for clip-path in SVG is supported in all browsers with basic SVG support.

  1. Partial support refers to only supporting the url() syntax.

  2. Partial support refers to supporting shapes and the url(#foo) syntax for inline SVG, but not shapes in external SVGs.

  3. Supports shapes behind the layout.css.clip-path-shapes.enabled flag

  4. Partial support can be enabled on MS Edge with the Enable CSS Clip-Path Flag

  5. While Edge doesn't seem to recognize any <basic-shape> function, it does allow you to use polygon() in HTML and SVG

* Partial support with prefix.

Resources

Data by caniuse.com
Licensed under the Creative Commons Attribution License v4.0.
https://caniuse.com/css-clip-path