Ask Your Question
0

I have a feeling that this is solvable in less steps...

asked 2020-04-29 13:38:44 -0500

confused_coder gravatar image

body { font-size: 20px; color: blue; font-weight: bold;

}

div[id] { border-bottom: solid green; width: 400px; color: black; font-weight: bold; }

.container { border: solid green; width: 400px; color: black; }

p { color: blue; background-color: yellow; width: 405px; font-weight: lighter; }

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-04-29 14:12:13 -0500

aze gravatar image

updated 2020-04-29 14:12:33 -0500

I think it's a pretty cool solution.

Maybe the font-weight is unnecessary in the div[id] rule, but other than that you can try a totally different approach with not changing the body, just the elements themselves.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-04-29 13:38:44 -0500

Seen: 6 times

Last updated: Apr 29

Related questions