소스 검색

fixing img css

BaumSplitter41 1 주 전
부모
커밋
a5ef797e4b
1개의 변경된 파일10개의 추가작업 그리고 14개의 파일을 삭제
  1. 10 14
      css/style.css

+ 10 - 14
css/style.css

@@ -1,10 +1,10 @@
 html {
     scroll-behavior: smooth;
 }
+
 body {
   	background-color: grey;
-  	margin: auto;
-	border: 50px solid black;
+  	margin: 50;
 }
 
 .main_container {
@@ -18,19 +18,20 @@ body {
 .main_text {
 	position: absolute;
   	top: 5%; 
-  	left: 30%;
-  	transform: translate(50%, 50%);
+  	left: 25%;
+  	transform: translate(-50%, -50%);
 	text-align: left;
 	border: 0.5px solid white;
+	border-radius: 0px;
+	padding: 15px;
 	margin: 20px;
 }
 
 .main_img {
 	position: absolute;
-  	top: 5%; 
-  	right: 5%;
-
-	width: 20%;
+  	top: 0%; 
+  	left: 68%;
+	width: 25%;
   	height: auto;
 	border-radius: 70%;
 	object-fit: cover;
@@ -39,9 +40,4 @@ body {
 h1 {
   	color: white;
   	text-align: center;
-}
-.welcome_text {
- 	 color: white;
- 	 text-align: center;
-}
-
+}