Imgix Video is now live! Learn more about our latest release here. →
LibrariesReferences
Log In
    • Overview

    • Automatic
    • Adjustment
      • Brightness
      • Contrast
      • Exposure
      • Gamma
      • Highlight
      • Hue shift
      • Invert
      • Saturation
      • Shadow
      • Sharpen
      • Unsharp Mask
      • Unsharp Mask Radius
      • Vibrance
    • Animation
      • Animated GIF Quality
      • Animated Loop Count
      • Frame Interval
      • Frame Selection
      • Frame Skip
      • Frames Per Second
      • Reverse
    • Background
      • Background Removal
      • Background Removal Add Shadow
      • Background Removal Fallback
      • Background Removal Foreground Type
      • Background Removal Semi Transparency
      • Background Replacement
      • Background Replacement Fallback
      • Background Replacement Negative Prompt
    • Blending
      • Blend
      • Blend Align
      • Blend Alpha
      • Blend Color
      • Blend Crop
      • Blend Fit
      • Blend Height
      • Blend Mode
      • Blend Padding
      • Blend Size
      • Blend Width
      • Blend X Position
      • Blend Y Position
    • Border & Padding
      • Border Bottom
      • Border Left
      • Border Right
      • Border Size Color
      • Border Top
      • Inner Border Radius
      • Outer Border Radius
      • Padding
      • Padding Bottom
      • Padding Left
      • Padding Right
      • Padding Top
    • Color Palette
      • Color Palette Extraction
      • CSS Prefix
      • Palette Color Count
    • Device Pixel Ratio
    • Expiration Timestamp
    • Face Detection
      • Face Blur
      • Face Index
      • Face Padding
      • Face Pixelation
      • JSON Face Data
    • Fill
      • Background Color
      • Fill Color
      • Fill Generative Fallback
      • Fill Generative Negative Prompt
      • Fill Generative Position
      • Fill Generative Prompt
      • Fill Generative Seed
      • Fill Gradient Color Space
      • Fill Gradient Linear
      • Fill Gradient Linear Direction
      • Fill Gradient Radial
      • Fill Gradient Radial Radius
      • Fill Gradient Radial X
      • Fill Gradient Radial Y
      • Fill Gradient Type
      • Fill Mode
      • Grid Colors
      • Grid Size
      • Transparency
    • Focal Point Crop
      • Focal Point Debug
      • Focal Point X Position
      • Focal Point Y Position
      • Focal Point Zoom
    • Format
      • Chroma Subsampling
      • Client Hints
      • Color Quantization
      • Color Space
      • Dots Per Inch
      • Download
      • IPTC Passthrough
      • JPG Progressive
      • Lossless Compression
      • Output Format
      • Output Quality
      • Rasterize Bypass
      • Sanitize SVG
    • Generative AI Endpoint
      • Text to Image
      • Text to Image Seed
    • License Plate Detection
      • License Plate Blur
    • Mask Image
      • Mask Background Color
      • Mask Corner Radius
      • Mask Type
    • Noise Reduction
      • Noise Reduction Bound
      • Noise Reduction Sharpen
    • Object Manipulation
      • Object Removal
      • Object Removal Negative Prompt
      • Object Removal Prompt
      • Object Removal Seed
    • PDF
      • PDF Annotation
      • PDF Page Number
    • Rotation
      • Flip Axis
      • Orientation
      • Rotation
      • Rotation Type
    • Size
      • Aspect Ratio
      • Crop Mode
      • Image Height
      • Image Width
      • Maximum Height
      • Maximum Width
      • Minimum Height
      • Minimum Width
      • Resize Fit Mode
      • Source Rectangle Region
    • Stylize
      • Duotone
      • Duotone Alpha
      • Gaussian Blur
      • Halftone
      • Halftone Direct To Film
      • Halftone Direct To Film Angle
      • Monochrome
      • Pixellate
      • Sepia Tone
    • Super Resolution
    • Text
      • Text Align
      • Text Clipping Mode
      • Text Color
      • Text Fit Mode
      • Text Font
      • Text Font Size
      • Text Outline
      • Text Outline Color
      • Text Padding
      • Text Shadow
      • Text String
      • Text Width
      • Text X Position
      • Text Y Position
    • Trim
      • Trim Alpha
      • Trim Color
      • Trim Image
      • Trim Mean Difference
      • Trim Padding
      • Trim Standard Deviation
      • Trim Tolerance
    • Typesetting Endpoint
      • Text Leading
      • Text Tracking
      • Typesetting Endpoint
    • Watermark
      • Watermark Alignment Mode
      • Watermark Alpha
      • Watermark Base URL
      • Watermark Fit Mode
      • Watermark Height
      • Watermark if Minimum Height
      • Watermark if Minimum Width
      • Watermark Image URL
      • Watermark Padding
      • Watermark Rotation
      • Watermark Scale
      • Watermark Tile
      • Watermark Width
      • Watermark X Position
      • Watermark Y Position

    • Overview

    • Short-Form Video
      • Clip
        • Video Clip Duration
        • Video Clip End
        • Video Clip Start
      • Video Encoding
        • Video Bitrate
        • Video Codec
      • Format
        • Video Format
        • Video Thumbnail
      • Size
        • Video Height
        • Video Width
    • Long-Form Video
      • Format
        • Frame Generation
        • Output Format
        • Resolution Format
        • Storyboard Format
        • Thumbnail Frame Selection
        • Video Download
      • GIF
        • GIF Frames Per Second
        • GIF Time End
        • GIF Time Start

    • Overview
    • General Usage
    • API Playground

    • Assets
    • Purges
    • Reports
    • Sources
Imgix APIsRendering APIBorder & PaddingBorder Top

Border Top

border-top

Adjusts the top border of an image when border is applied. This parameter depends on border being set.

This parameter depends on border being set.

Border Size ColorInner Border Radius

Footer

Loading status...
FacebookXLinkedInInstagram

Navigation

  • Home
  • Solutions
  • Pricing
  • Customers
  • Why Imgix?

Developers

  • Docs
  • Setup
  • Guides
  • Tutorials
  • API Reference

Company

  • Blog
  • About
  • Careers
  • Press Kit
  • Partners

Tools

  • imgix.js
  • Sandbox
  • Page Weight

Support

  • Contact Sales
  • Email Support
  • Service Status

Policies

  • Terms of Use
  • Privacy
  • Payments
  • IP

© 2025 Imgix