Y
Y
Yuri Kizilov2017-12-17 14:11:52
css
Yuri Kizilov, 2017-12-17 14:11:52

Is there any way to display the value of the date attribute in css?

Hello! I want to try to display the date attribute value in css :before
The problem is that I need to insert this value into the width, not into the content.
Do you think this is possible? I am using the stylus preprocessor. But I'm still not strong in it, maybe it's possible to display the value of the date attribute in a variable, and then substitute it in width?
Any ideas?)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2017-12-17
@Kizilov

This is not yet possible, browsers only know how to content.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question