+ 2

Any explanation for this behavior?

When I type * { display: flex } Then html css js codes appear as a result. https://code.sololearn.com/WIdeGvrUsqy3/?ref=app

8th Mar 2022, 1:01 PM
Lofty
Lofty - avatar
4 Answers
+ 4
Man you are a hacker 😁
8th Mar 2022, 1:16 PM
Ipang
+ 4
Ipang 😅 There's one more thing I've noticed, it is not possible to write a comment that contains: <scriipt> (I had to write "i" twice in script to be able to send this message). It shows no connection, every time I try to send it. I guess it makes some sense, but this one with flex seems strange.
8th Mar 2022, 1:30 PM
Lofty
Lofty - avatar
+ 4
That's right, meself also experienced that writing PHP code in a reply, same thing came up ... I just thought it was in self defense purpose though ...
8th Mar 2022, 1:32 PM
Ipang
+ 2
By using using *(root) as a selector any attribute/ properties inside the block is set for the entire document. In this case you are setting the display for script and style tags to flex, hence the reason for the crazy/weird output.
8th Mar 2022, 5:00 PM
ODLNT
ODLNT - avatar