sass 常用样式

Last updated on November 22, 2024 pm

🧙 Questions

☄️ Ideas

ul 样式控制
.header-bar-ul {
  list-style: none;
  display: inline-flex;
  line-height: 80px;
  margin: 0;

  a {
    display: block;
    font-size: 20px;
    text-decoration: none;
    color: black;
    text-align: center;
    margin-left: 70px;

    &:hover {
      color: blueviolet;
    }
  }
}

css 添加图片背景

background-image: url(https://gitee.com/isxcode/blogs-galaxy-images/raw/master/leo/leo-todo.png);
background-size: 100% 100%;
background-repeat: no-repeat;

sass 常用样式
https://ispong.isxcode.com/vue/sass/sass 常用样式/
Author
ispong
Posted on
May 8, 2022
Licensed under