Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .link {
- color: blue;
- // В Less можно использовать амперсанд (&) для решения такой задачи
- &.active {
- color: red;
- }
- }
- /* Профиль пользователя */
- .app-components-Aside-__user__1gy.app-components-Aside-__wrapper__1n4 {
- height: 42px;
- width: 100%;
- background-color: red;
- }
- <div class="app-components-Aside-__user__1gy">
- <div class="app-components-Aside-__user__1gy-wrapper"></div>
- </div>
- import React from 'react';
- import { Link } from 'react-router';
- /* component styles */
- import s from './styles.css';
- function Aside() {
- return (
- <aside className={s.root}>
- <div className={s.user}>
- <div className={s.user + '-wrapper'}></div>
- </div>
- </aside>
- );
- }
- export default Aside;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement