Skip to content

[css] 第620天 怎样使用Sass的Mixin功能? #3354

Open
@haizhilin2013

Description

@haizhilin2013
Collaborator

第620天 怎样使用Sass的Mixin功能?

3+1官网

我也要出题

Activity

Xing-YaoLei

Xing-YaoLei commented on Feb 24, 2021

@Xing-YaoLei

Mixin可以将CSS封装为类似的函数方法。
在使用的时候通过使用@include来进行使用对应的方法。
有效的减少代码的重复率,将重复的CSS进行复用。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @haizhilin2013@Xing-YaoLei

        Issue actions

          [css] 第620天 怎样使用Sass的Mixin功能? · Issue #3354 · haizlin/fe-interview