Browse Source

теперь тут просто css

Vladislav342 2 years ago
parent
commit
b64fe46d3e
3 changed files with 46 additions and 47 deletions
  1. 45 0
      React/HW_React_1/src/App.css
  2. 1 1
      React/HW_React_1/src/App.js
  3. 0 46
      React/HW_React_1/src/App.scss

+ 45 - 0
React/HW_React_1/src/App.css

@@ -0,0 +1,45 @@
+
+.GoodCard{
+  border: 1px solid cyan;
+  border-radius: 15px;
+}
+
+.GoodCard img{
+	max-width: 50%;
+}
+
+
+.GoodCard2{
+  border: 1px solid cyan;
+  border-radius: 15px;
+  height: 300px;
+  margin: 40px;
+}
+
+.GoodCard2 img{
+	 max-width: 15%;
+}
+
+
+  .Logo img{
+        max-height:100px;
+   }
+
+  footer{
+    background-color: #303030; 
+      
+  }
+
+  .Logo img{
+        max-height:200px;
+   }
+
+   main{
+   		display:flex;
+    	flex-direction: row;
+   }
+
+  main aside{
+      width:30%;
+      background-color: cyan;
+  }

+ 1 - 1
React/HW_React_1/src/App.js

@@ -1,5 +1,5 @@
 import logoDefault from './logo.svg';
-import './App.scss';
+import './App.css';
 import {Provider, connect} from 'react-redux';
 import {createStore, combineReducers, applyMiddleware} from 'redux';
 import thunk from 'redux-thunk';

+ 0 - 46
React/HW_React_1/src/App.scss

@@ -1,46 +0,0 @@
-
-.GoodCard{
-  border: 1px solid cyan;
-  border-radius: 15px;
-  img{
-    max-width: 50%;
-  }
-}
-
-.GoodCard2{
-  border: 1px solid cyan;
-  border-radius: 15px;
-  height: 300px;
-  margin: 40px;
-  img{
-    max-width: 15%;
-  }
-}
-
-.App {
-  header{
-      .Logo{
-          img{
-              max-height:100px;
-          }
-      }
-  }
-
-  footer{
-    background-color: #303030; 
-      .Logo{
-          img{
-              max-height:200px;
-          }
-      }
-  }
-
-  main{
-    display:flex;
-    flex-direction: row;
-    aside{
-      width:30%;
-      background-color: cyan;
-    }
-  }
-}