/* components/test/test.wxss */ .Add-Project{ background-color:#f5f5f8; margin: 80px auto; width: 300px; height: 120px; position: relative; border-radius: 5px ; } .Add-Project text{ position: absolute; top:5px; left: 120px; } .Add-Project input{ width: 250px; height: 30px; position: absolute; top: 35px; left: 25px; background-color: white; } .Add-Project button{ width: 130px; height: 30px; position: absolute; bottom: 5px; font-size: 12px; border:0px; background-color: #ffffff; }