Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- computed: {
- circleSizing() {
- let circles = document.getElementsByClassName("circle")
- for (let i = 0; i <= circles.length; i++) {
- circles[i].style.top = 10 * (i + 1)
- circles[i].style.bottom = 10 * (i + 1)
- circles[i].style.left = 10 * (i + 1)
- circles[i].style.left = 10 * (i + 1)
- }
- }
- },
- mounted: function() {
- this.circleSizing();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement