Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container.vueのcssの@mediaのシンタックスエラー #30

Open
odanado opened this issue Apr 13, 2018 · 0 comments
Open

Container.vueのcssの@mediaのシンタックスエラー #30

odanado opened this issue Apr 13, 2018 · 0 comments

Comments

@odanado
Copy link

odanado commented Apr 13, 2018

2018-04-13 23 35 49

VSCodeで Container.vue を開いたところ、上記の画像のようにCSSの@mediaでシンタックスエラーが発生しました

調べると https://stackoverflow.com/questions/36229356/whats-the-equivalent-of-the-container-bootstrap-class-in-purecss-io がヒットしました

.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

と書くべきではないでしょうか?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant