LoginSignup
11
3

More than 3 years have passed since last update.

Vuetify Componentに定義されているCSSを上書きするTips

Last updated at Posted at 2020-01-22

背景

タイトルそのまま

結論

scoped cssを使わない。

<template>
  <v-parallax dark :src="require('../../assets/images/hoge.jpg')" 
  </v-parallax>
</template>

<style>
.v-parallax__image {
  transform: translate(-50%, 0px) !important;
}
</style>

参考

How to override vuetify styles?

11
3
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
11
3