Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

circle css animation

class ProgressRing extends React.Component {
  constructor(props) {
    super(props);

    const { radius, stroke } = this.props;

    this.normalizedRadius = radius - stroke * 2;
    this.circumference = this.normalizedRadius * 2 * Math.PI;
  }
}
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #circle #css #animation
ADD COMMENT
Topic
Name
7+5 =