aphrodite icon indicating copy to clipboard operation
aphrodite copied to clipboard

use aphrodite with twitter-Bootstrap

Open franva opened this issue 7 years ago • 2 comments

Just wonder is it possible to use A with B?

My existing project using Bootstrap and looks like:

<ul className=”nav navbar-nav”>

But Aphrodite asks for something like: <ul className={css(styles.red)}>

Question:

How can I merge these 2 approaches? <ul className=”nav navbar-nav” className={css(styles.red)}>

franva avatar Apr 28 '18 02:04 franva

I have used string templates to accomplish this: <ul className={`nav navbar-nav ${css(styles.red)}`}>

Produces something like this: <ul class="nav navbar-nav red_137u7ef">

jb-1980 avatar May 25 '18 14:05 jb-1980

It works! Thank you

franva avatar May 25 '18 23:05 franva