Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

refactor: The attached picture is covered with containers #382

Merged
merged 1 commit into from
Nov 27, 2021
Merged

refactor: The attached picture is covered with containers #382

merged 1 commit into from
Nov 27, 2021

Conversation

cetr
Copy link
Member

@cetr cetr commented Nov 27, 2021

No description provided.

Copy link
Member

@guqing guqing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

补充说明:

  • background-size:100%;把背景图进行横向和纵向的拉伸 图片比例随之改变 可能导致图像失真
  • background-size: cover;把背景图扩展至足够大 直至完全覆盖背景区域 图片比例保持不变且不会失真 但某些部分被切割无法显示完整背景图像

@ruibaby ruibaby merged commit e3532fa into halo-dev:master Nov 27, 2021
@ruibaby ruibaby mentioned this pull request Feb 21, 2022
JohnNiang pushed a commit to JohnNiang/halo that referenced this pull request Mar 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants