简体   繁体   中英

VS Code Extention to auto generate CSS code

I'm looking for an extension to auto-generate CSS code based on HTML structure code: Example: let's pretend I write the following code manually

<section class="login">
  <div class="login-grid">
     <div class="login-form"></div>
  </div>
</section>

I'd like to have the following code automatically in the CSS file with the same structure

.login {
    .login-grid 
    {
        .login-form{

        }
    }
    
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM