Home / File/ image.css — astro Source File

image.css — astro Source File

Architecture documentation for image.css, a css file in the astro codebase.

Entity Profile

Source Code

:where([data-astro-image]) {
	object-fit: var(--fit);
	object-position: var(--pos);
	height: auto;
}
:where([data-astro-image="full-width"]) {
	width: 100%;
}
:where([data-astro-image="constrained"]) {
	max-width: 100%;
}

Frequently Asked Questions

What does image.css do?
image.css is a source file in the astro codebase, written in css.
Where is image.css in the architecture?
image.css is located at packages/astro/components/image.css (directory: packages/astro/components).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free