Skip to content

Commit

Permalink
adding a path() example (mdn#912)
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelandrew authored Jan 5, 2021
1 parent 17f4b04 commit d0f46ab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions files/en-us/web/css/path()/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ <h3 id="Examples_of_correct_values_for_path">Examples of correct values for path
path(evenodd,"M 10 80 C 40 10, 65 10, 95 80 S 150 150, 180 80");
</pre>

<h3 id="Use_in_offset_path">Use as the value of offset-path</h3>

<p>The <code>path()</code> function is used to create a path for the item to travel round. Changing any of the values will cause the path to not neatly run round the circle.</p>

<p>{{EmbedGHLiveSample("css-examples/path/offset-path.html", '100%', 960)}}</p>

<h2 id="Specifications">Specifications</h2>

<table class="standard-table">
Expand Down

0 comments on commit d0f46ab

Please sign in to comment.