How to use the styled-bootstrap-grid.media.lg function in styled-bootstrap-grid

To help you get started, we’ve selected a few styled-bootstrap-grid examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fintory / kickup-react / client / components / Button / styles.js View on Github external
`};

  :not([disabled]):hover {
    color: ${(props: { variant: string }) => fontColors[props.variant]};
    opacity: 0.9;
  }

  ${(props: { variant: string, disabled: boolean }) =>
    props.disabled &&
    css`
      opacity: 0.9;
      cursor: not-allowed;

      background-color: ${colors.shadeBeta};
      color: ${rgba(colors.white, 0.95)};
    `} ${media.lg`
    font-size: 14px;
  `};
`

export const Spinner = styled.span`
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition-duration: 250ms;
  position: absolute;
  top: -28px;
  height: 28px;
  left: 0;
  transform: ${(props: { loading: boolean }) =>
    props.loading ? 'translate3d(0, 2.5rem, 0)' : 'translate3d(0, 0, 0)'};

styled-bootstrap-grid

bootstrap grid system using styled components

MIT
Latest version published 3 years ago

Package Health Score

51 / 100
Full package analysis