Ajax Loader
×

How to centre a cropped image

Vertical & Horizontally centering a cropped image using CSS only.

The blue dashed border shows the area that would be cropped - if we added overflow:hidden to .frame

×

Coding Preferences


HTML

CSS

Javascript

More

×

Your Default Settings - Preferences

×
×
×

Validations

(Errors from your JS or Pre-Processors code)

    HTML
    CSS
    JavaScript

    How to centre a cropped image

    CSSDeck G+