mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-26 07:14:44 +02:00
Use BEM naming convention
This commit is contained in:
@@ -23,7 +23,7 @@ const Details: React.FC<{}> = () => {
|
||||
html={`
|
||||
<div class="container">
|
||||
<!-- The close button -->
|
||||
<button class="close">
|
||||
<button class="container__close">
|
||||
...
|
||||
</button>
|
||||
|
||||
@@ -48,7 +48,7 @@ css={`
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.close {
|
||||
.container__close {
|
||||
/* Shown at top right corner */
|
||||
position: absolute;
|
||||
right: 16px;
|
||||
|
Reference in New Issue
Block a user