Download Netflix-Clone/src/Components/CollectionGridItem/CollectionGridItem.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.47 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Netflix-Clone/src/Components/CollectionGridItem/CollectionGridItem.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/Netflix-Clone/src/Components/CollectionGridItem/CollectionGridItem.scss
-
curl -L -o CollectionGridItem.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Netflix-Clone/src/Components/CollectionGridItem/CollectionGridItem.scss
1.47 kB
| .grid-item { | |
| width: 100%; | |
| position: relative; | |
| &:last-child { | |
| .grid-item__movie-text { | |
| bottom: 40%; | |
| @media screen and (max-width: 800px) { | |
| bottom: 17%; | |
| } | |
| } | |
| } | |
| &__img { | |
| width: 100vw; | |
| height: auto; | |
| @media screen and (max-width: 800px) { | |
| display: none; | |
| } | |
| } | |
| &__mobile-img { | |
| @media screen and (min-width: 800px) { | |
| display: none; | |
| } | |
| @media screen and (max-width: 800px) { | |
| display: block; | |
| height: auto; | |
| } | |
| } | |
| &__movie-text { | |
| position: absolute; | |
| bottom: 32%; | |
| left: 5%; | |
| cursor: pointer; | |
| right: 5%; | |
| color: #fff; | |
| font-size: 18px; | |
| text-shadow: 3px 3px 4px black; | |
| line-height: 25px; | |
| @media screen and (max-width: 800px) { | |
| font-size: 15px; | |
| line-height: 21px; | |
| bottom: 10%; | |
| right: 10%; | |
| left: 12%; | |
| } | |
| } | |
| &__tv-text { | |
| position: absolute; | |
| bottom: 41%; | |
| left: 5%; | |
| cursor: pointer; | |
| right: 5%; | |
| color: #fff; | |
| font-size: 18px; | |
| text-shadow: 3px 3px 4px black; | |
| line-height: 25px; | |
| @media screen and (max-width: 800px) { | |
| font-size: 15px; | |
| line-height: 22px; | |
| bottom: 32%; | |
| right: 10%; | |
| left: 12%; | |
| } | |
| } | |
| &__title { | |
| @media screen and (max-width: 600px) { | |
| font-size: 16px; | |
| } | |
| } | |
| &__overview { | |
| color: white; | |
| } | |
| } |