Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. .link {
  2. color: blue;
  3.  
  4. // В Less можно использовать амперсанд (&) для решения такой задачи
  5. &.active {
  6. color: red;
  7. }
  8. }
  9.  
  10. /* Профиль пользователя */
  11. .app-components-Aside-__user__1gy.app-components-Aside-__wrapper__1n4 {
  12. height: 42px;
  13. width: 100%;
  14. background-color: red;
  15. }
  16.  
  17. <div class="app-components-Aside-__user__1gy">
  18. <div class="app-components-Aside-__user__1gy-wrapper"></div>
  19. </div>
  20.  
  21. import React from 'react';
  22. import { Link } from 'react-router';
  23.  
  24. /* component styles */
  25. import s from './styles.css';
  26.  
  27. function Aside() {
  28. return (
  29. <aside className={s.root}>
  30. <div className={s.user}>
  31. <div className={s.user + '-wrapper'}></div>
  32. </div>
  33.  
  34. </aside>
  35. );
  36. }
  37.  
  38. export default Aside;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement