Clojurians
#css
<
2017-04-16
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

reefersleep18:04:02

Hello everyone :slightly_smiling_face: 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! :slightly_smiling_face:

niamu18:04:43

No problem :slightly_smiling_face: