feat: left color add bg color

This commit is contained in:
Tristan 2019-10-16 22:02:15 +08:00
parent 7e47d6cc26
commit 53f8aa8fd4
2 changed files with 1 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 KiB

View File

@ -18,6 +18,7 @@ const Wrapper = styled.li`
transition: all 0.5s;
align-self: flex-start;
opacity: 0.8;
background-color: ${({ rgb }) => `rgba(${rgb.join(',')},.4)`};
&:hover {
opacity: 0.9;
box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);