🔏
Knowledge
search
Ctrlk
  • README
  • Businesschevron-right
  • Devchevron-right
    • Apis
    • Blockchain
    • Composer
    • Css
    • Dev
    • Github
    • Hacking
    • Html
    • Javascriptchevron-right
    • Linuxchevron-right
    • Markdown
    • Open-sourcechevron-right
    • Performance
    • Phpchevron-right
    • Programmieren
    • Regular-expressions
    • Security
    • Sql
    • Sshchevron-right
    • Toolschevron-right
    • Webchevron-right
    • Zip
  • Energychevron-right
  • Gartenchevron-right
  • Gesellschaftchevron-right
  • Hofchevron-right
  • Home-automationchevron-right
  • Ideenchevron-right
  • Landwirtschaftchevron-right
  • Lebenchevron-right
  • Pcchevron-right
  • Produktivitaetchevron-right
  • Readchevron-right
  • Sonstigeschevron-right
  • Zukunftchevron-right
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. Dev

Css

  • Selectors Explainedarrow-up-right

  • The Guide to Designarrow-up-right

hashtag
Grid

  • Full-Bleed Layout Using CSS Gridarrow-up-right

  • Grids Part 1: To grid or not to gridarrow-up-right

hashtag
Images

  • BlurHasharrow-up-right

hashtag
Tailwind

  • tailwindcssarrow-up-right

  • tailwindUIarrow-up-right

  • Tailwind CSS Resources you wish you hadarrow-up-right

hashtag
Snippets

hashtag
Ellipsis

Truncate String with Ellipsisarrow-up-right

hashtag
Position fixed center

How To Center an Object Exactly In The Centerarrow-up-right

hashtag
Links

  • CSS-Tricksarrow-up-right

hashtag
Design

hashtag
Links

  • 40 pro tips for writing great microcopyarrow-up-right

  • Aspect Ratio is Greatarrow-up-right

hashtag
Inspiration

  • baremetricsarrow-up-right

PreviousComposerchevron-leftNextDevchevron-right

Last updated 3 years ago

Was this helpful?

  • Grid
  • Images
  • Tailwind
  • Snippets
  • Ellipsis
  • Position fixed center
  • Links
  • Design
  • Links
  • Inspiration

Was this helpful?

.text-ellipsis {
  width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}