我正在开发具有容器的银行网页,并且我已经实作了引导程序,因此它可以回应并且所有页面都变得回应,除了我的容器!我已经尝试了所有方法,但我不知道是什么问题?
form {
width: 700px;
margin: 17% auto;
}
.signup {
padding: 0px 25px 25px;
background: rgb(255, 255, 255);
box-shadow: 0px 0px 0px 5px rgba( 255, 255, 255, 0.4), 0px 4px 20px rgba( 0, 0, 0, 0.33);
}
<form action="insert_2.php" method="post" class="needs-validation" enctype="multipart/form-data" id="responsive" novalidate>
<body style="background-image: url('https://images.squarespace-cdn.com/content/v1/5a5335f3f43b55247f4b4c5c/1591451356938-K6IBQ2JD9G881GECIOIQ/Untitled design-5.png'); background-attachment: fixed; background-size: 100%;">
<div class="signup container">
<div class="header"></div>
uj5u.com热心网友回复:
为什么你的身体标签在形式之后?!像这样更改您的 HTML 结构,然后重试:
<body style="background-image: url('https://images.squarespace-cdn.com/content/v1/5a5335f3f43b55247f4b4c5c/1591451356938-K6IBQ2JD9G881GECIOIQ/Untitled design-5.png'); background-attachment: fixed; background-size: 100%;">
<form action="insert_2.php" method="post" class="needs-validation" enctype="multipart/form-data" id="responsive" novalidate>
<div class="signup">
<div class="container">
<div class="row">
<div class="col">
<div class="header"></div>
uj5u.com热心网友回复:
我认为您需要添加 max-width: 100%
0 评论