+ 5

css: working with rem

Hi, would have expected third ul having equal font-size. Whats wrong? https://code.sololearn.com/Ww2uqs93Dmbm/?ref=app

11th Mar 2019, 6:34 PM
Oma Falk
Oma Falk - avatar
8 Answers
+ 1
Okay, got it. Don't write both .rm and ul in css. It'll be applied to ul childs of .rm class elements so first one will be excluded.
11th Mar 2019, 6:53 PM
Emoji FanBoy
Emoji FanBoy - avatar
+ 5
okaaaay.... span is very good.
11th Mar 2019, 7:58 PM
Oma Falk
Oma Falk - avatar
+ 3
I mean the last part with class rm. It has no em... should not have...
11th Mar 2019, 6:47 PM
Oma Falk
Oma Falk - avatar
+ 3
Thank uđŸ€— Emoji FanBoy
11th Mar 2019, 6:55 PM
Oma Falk
Oma Falk - avatar
+ 3
cold u demonstrate the way div/span?
11th Mar 2019, 7:06 PM
Oma Falk
Oma Falk - avatar
+ 1
You meant second and third ul having same font size in all classes? It won't happen as long em is there.
11th Mar 2019, 6:46 PM
Emoji FanBoy
Emoji FanBoy - avatar
0
This wasn't best answer
 I just explained why it didn't work. This hasn't served your purpose. You should make parent div/span and retain old .rm ul. Second way, all ul should be classed.
11th Mar 2019, 6:58 PM
Emoji FanBoy
Emoji FanBoy - avatar
11th Mar 2019, 7:22 PM
Emoji FanBoy
Emoji FanBoy - avatar