<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>layOut</title>
<style>
body{
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
color: #ED6F6F;
background: whitesmoke;
}
div{
width: 800px;
height: 600px;
margin: 0 auto;
position: relative;
line-height: 40px;
background: #97F7B0;
padding:20px 50px;
/* transition: all 0.5s ease-in-out; */
}
div h1{
text-align: center;
border:1px solid ;
padding: auto 0;
}
<html lang="en">
<head>
<meta charset="UTF-8">
<title>layOut</title>
<style>
body{
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
color: #ED6F6F;
background: whitesmoke;
}
div{
width: 800px;
height: 600px;
margin: 0 auto;
position: relative;
line-height: 40px;
background: #97F7B0;
padding:20px 50px;
/* transition: all 0.5s ease-in-out; */
}
div h1{
text-align: center;
border:1px solid ;
padding: auto 0;
}