質問編集履歴
1
application.cssの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
+
```ここに言語を入力
|
2
|
+
コード
|
1
|
-
デプロイしようとたらSassC::SyntaxError: Error: Invalid CSS after "/": expected 1 selector or at-rule, was "/*"
|
3
|
+
```デプロイしようとたらSassC::SyntaxError: Error: Invalid CSS after "/": expected 1 selector or at-rule, was "/*"
|
2
4
|
remote: on line 1:1 of stdin
|
3
5
|
remote: >> /*
|
4
6
|
というエラーが出ました。。cssは何が問題なのかわかりませんでした。。scssは用意していないのでcssが問題だと言われているのでみてみました。
|
@@ -283,4 +285,21 @@
|
|
283
285
|
display: flex;
|
284
286
|
width: 100%;
|
285
287
|
}
|
288
|
+
|
289
|
+
*/```ここに言語を入力
|
290
|
+
コード以下appliication.cssです。
|
286
|
-
```
|
291
|
+
```/*
|
292
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
293
|
+
* listed below.
|
294
|
+
*
|
295
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
|
296
|
+
* vendor/assets/stylesheets directory can be referenced here using a relative path.
|
297
|
+
*
|
298
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
299
|
+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
300
|
+
* files in this directory. Styles in this file should be added after the last require_* statement.
|
301
|
+
* It is generally better to create a new file per style scope.
|
302
|
+
*
|
303
|
+
*= require_tree .
|
304
|
+
*= require_self.
|
305
|
+
*/
|