Fork me on GitHub
#css
<
2017-04-16
>
reefersleep18:04:02

Hello everyone 🙂 I was wondering if there is a way to add pseudoclass attributes to hiccup elements in a Reagent project?

reefersleep18:04:45

I have a .css file in my project that I would really like to get rid of, or minimize as much as possible, in favour of styles inlined in Reagent components.

niamu18:04:53

pseudoclasses can’t be added to HTML elements, but you could add inline styles with <style> and add the pseudoclass there.

reefersleep18:04:48

Hm. Too bad... But thank you for the pointer that can help me get rid of the .css file entirely! 🙂

niamu18:04:43

No problem 🙂