mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-06 09:26:43 +08:00
调整背景图样式
This commit is contained in:
@@ -3107,9 +3107,11 @@ export default {
|
||||
}
|
||||
}
|
||||
.courseBg{
|
||||
width: 332px;
|
||||
height: 323px;
|
||||
background: url("../assets/images/course/courseBackground.png") no-repeat;
|
||||
background-size: cover; /* 或 use 'contain' */
|
||||
background-position: center;
|
||||
background-size: 100% 100%; /* 或 use 'contain' */
|
||||
background-position: center;
|
||||
border: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user