Kai's Notes

Search

SearchSearch
      • Create a New Font in FontForge
      • Editing a Glyph in FontForge
      • Export Font to File in FontForge
      • Fix errors in FontForge
      • FontForge
      • Hide unused glyphs in FontForge
      • How to Generate Accented Glyphs in FontForge
      • Kerning Accented Glyphs in FontForge
      • Kerning in FontForge
      • Ligatures in FontForge
      • Move all glyphs down in FontForge
      • Open a font in FontForge
      • Python fix_font script
      • Save as sfd in FontForge
      • Abyss notes
      • Ascent notes
      • Bind notes
      • Breeze notes
      • Corrode notes
      • Fracture notes
      • Haven notes
      • Icebox notes
      • Lotus notes
      • Pearl Notes
      • Split notes
      • Sunset notes
      • Valorant Gunfight Basics
    • Arduino Bluetooth with NodeJS
    • bottom fade css
    • Cloudflare tunnels to access Immich from anywhere on TrueNAS Scale
    • CSS triangles
    • Custom scrollbar
    • Disable double tap to zoom
    • events in Tauri
    • exe names in electron with custom icon
    • font-face
    • Format dates in JavaScript
    • Gradient text
    • GROQ stuff
    • How to make a font
    • Icomoon fonts
    • IntersectionObserver
    • line-clamp
    • Math on mapped arrays
    • Min and max columns with CSS grid
    • netlify.toml
    • Page breaks in Obsidian
    • Preload fonts
    • Responsive images
    • Rust packages
    • Sticky footer
    • Svelte support for better comments
    • SVG Glyphs in Figma
    • SVG morphing animation tips
    • Tags post-commit hook
Home

❯

bottom fade css

bottom fade css

May 12, 20241 min read

  • coding/css
  • useful

https://stackoverflow.com/questions/22666063/how-to-fade-the-edge-of-a-div-with-just-css

ol {
  border: 1px #d8d8d8 dashed;
  font: 2em/1.6em Arial;
  position: relative;
}
 
ol:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background-image: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255, 1) 90%);
  width: 100%;
  height: 4em;
}
<ol>
  <li>item1</li>
  <li>item2</li>
  <li>item3</li>
  <li>item4</li>
  <li>item5</li>
</ol>

css useful

Graph View

Backlinks

  • No backlinks found

Created with Quartz v4.2.3 © 2025

  • GitHub
  • Discord Community