You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
396 B

$(document).ready(()=>{
const compatibility = $('.compatibility')
const sheets = compatibility.find('.sheet-container')
const values = sheets.find('.value')
values.each((index,elem)=>{
const el = $(elem)
const percent = el.find('.percent')
const value = percent.data('percent')+'%'
console.log(percent)
percent.animate({'width': value},500)
})
})