How to use the traditional CSS style selector for React components

1. Traditional setting styles can be implemented using a similar selector below

div p {
    font-size: 30px;
    color: -sharpeee;
}

<div>
    

aaa

aaa

aaa

aaa

</div>

2. In React, is it possible to use a css selector similar to the one above to set the Style, of a component? if so, how can it be done?
(for example, components of antd can be set to Style, in some cases repetitive, I don"t want to add Style or ClassName to each)

Jan.24,2022

is not the same as a normal style reference?


is the same as the traditional one, no different.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b848-4ef04.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b848-4ef04.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?