Download Netflix-Clone/src/Components/CollectionItem/CollectionItem.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.42 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Netflix-Clone/src/Components/CollectionItem/CollectionItem.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/Netflix-Clone/src/Components/CollectionItem/CollectionItem.scss
-
curl -L -o CollectionItem.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Netflix-Clone/src/Components/CollectionItem/CollectionItem.scss
1.42 kB
| .collection-item { | |
| position: relative; | |
| &:hover &__text { | |
| visibility: visible; | |
| transition: opacity 0.62s, ease 1s; | |
| opacity: 1; | |
| } | |
| &:hover &__addtolist { | |
| visibility: visible; | |
| transition: opacity 0.62s, ease 1s; | |
| opacity: 1; | |
| } | |
| &:hover &__movie-image { | |
| transition: opacity 0.62s, ease 1s; | |
| opacity: 0.5; | |
| } | |
| &__movie-image { | |
| width: 300px; | |
| z-index: 1; | |
| @media screen and (max-width: 800px) { | |
| width: 230px; | |
| } | |
| } | |
| &__text { | |
| position: absolute; | |
| bottom: 24%; | |
| left: 2%; | |
| right: 1%; | |
| color: #fff; | |
| visibility: hidden; | |
| opacity: 0; | |
| transition: opacity 0.62s, ease 1s; | |
| font-size: 10px; | |
| text-shadow: 3px 3px 4px black; | |
| @media screen and (max-width: 800px) { | |
| display: none; | |
| } | |
| } | |
| &__title { | |
| color: white; | |
| font-size: 0.9rem; | |
| @media screen and (max-width: 800px) { | |
| font-size: 0.6rem; | |
| } | |
| } | |
| &__overview { | |
| color: white; | |
| @media screen and (max-width: 800px) { | |
| font-size: 0.6rem; | |
| } | |
| } | |
| &__addtolist { | |
| position: absolute; | |
| bottom: 5%; | |
| left: 1.7%; | |
| color: #fff; | |
| visibility: hidden; | |
| opacity: 0; | |
| font-size: 10px; | |
| text-shadow: 3px 3px 4px black; | |
| transition: opacity 0.62s, ease 1s; | |
| @media screen and (max-width: 800px) { | |
| display: none; | |
| } | |
| } | |
| } | |