Ben Bodien
Something something CSS in JS 😇
Wishing I could use the value from a CSScounter()
function inside a CSS calc()
function.
Something something CSS in JS 😇
YES PLEASE
Wait a second: Can’t you use counter in a css custom property and then in the calc(); function?
Alas, no. :-(
And I was just about to pop on my machine and test it out :(
JS is quite useful for things like that. Need I remind you that you wrote a great book about it :)
10 Likes
# Liked by Trys Mudford on Monday, February 4th, 2019 at 5:40pm
# Liked by HerrCooles 💪 on Monday, February 4th, 2019 at 5:40pm
# Liked by Mateo on Monday, February 4th, 2019 at 6:10pm
# Liked by Andy Davies on Monday, February 4th, 2019 at 6:10pm
# Liked by Cassie Evans on Monday, February 4th, 2019 at 7:11pm
# Liked by shawn eisenach on Monday, February 4th, 2019 at 8:07pm
# Liked by Mandy Michael on Monday, February 4th, 2019 at 10:15pm
# Liked by Matthias Ott on Monday, February 4th, 2019 at 11:47pm
# Liked by Letra Studio on Tuesday, February 5th, 2019 at 1:13am
# Liked by Greg Bowler on Tuesday, February 5th, 2019 at 6:28pm