Download wp-calypso/client/sites-dashboard/components/thumbnail-link.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 439 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/sites-dashboard/components/thumbnail-link.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/sites-dashboard/components/thumbnail-link.tsx
-
curl -L -o thumbnail-link.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/sites-dashboard/components/thumbnail-link.tsx
439 Bytes
| import styled from '@emotion/styled'; | |
| export const ThumbnailLink = styled.a( { | |
| position: 'relative', | |
| ':after': { | |
| content: '""', | |
| position: 'absolute', | |
| zIndex: -1, | |
| top: 0, | |
| left: 0, | |
| height: '100%', | |
| width: '100%', | |
| opacity: 0, | |
| borderRadius: '4px', | |
| boxShadow: '0 7px 30px -10px rgba( 0, 0, 0, 0.2 )', | |
| transition: 'opacity 0.3s', | |
| }, | |
| ':hover': { | |
| ':after': { | |
| opacity: 1, | |
| transition: 'opacity 0.1s', | |
| }, | |
| }, | |
| } ); | |