0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【vue.js】【css】element-ui el-dialogのheaderをカスタマイズしたい時

Last updated at Posted at 2019-12-10

下記の書き方ならok!

ポイント1: lang="scss" を 必須!
ポイント2: /deep/ or >>> を どちらか 必須!

方法1

<style lang="scss" scoped>
  /deep/ .el-dialog__header{
         background-image: linear-gradient( to right, #5cbb7a, rgba(255, 0, 0, 0) );
  }
</style>

方法2

<style lang="scss" scoped>
  >>> .el-dialog__header{
         background-image: linear-gradient( to right, #5cbb7a, rgba(255, 0, 0, 0) );
  }
</style>
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?