wp_print_auto_sizes_contain_css_fix


wp_print_auto_sizes_contain_css_fix ( No parameters )

Description

Prints a CSS rule to fix potential visual issues with images using `sizes=auto`.This rule overrides the similar rule in the default user agent stylesheet, to avoid images that use e.g. `width: auto` or `width: fit-content` to appear smaller.

Related Functions

wp_print_head_scripts, wp_img_tag_add_auto_sizes, wp_plugin_directory_constants, wp_prime_option_caches, _wp_get_user_contactmethods

Top Google Results

User discussions

wpseek mobile