forked from mirror/chinese-colors
feat: left color add bg color
This commit is contained in:
parent
7e47d6cc26
commit
53f8aa8fd4
BIN
src/assets/img/bg.frame.light.png
Normal file
BIN
src/assets/img/bg.frame.light.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 673 KiB |
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user