- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
当我在 chrome 开发者工具中切换到移动 View 时,滚动没有出现,所有内容都在屏幕上可见,这使得阅读变得非常困难,因为它们对于高度调整来说变得非常小。所以内容正在调整,因此它变得越来越小。 当我在 chrome 开发者工具中切换到移动 View 时,滚动没有出现,所有内容都在屏幕上可见,这使得阅读变得非常困难,因为它们对于高度调整来说变得非常小。所以内容正在调整,因此它变得越来越小。
<!DOCTYPE html>
<html>
<head>
<title>GetToWork</title>
<link href='http://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>
<style>
.main-container {
display: flex;
flex-flow: column wrap;
align-items: center;
font-family:Lato, Arial, Sans serif;
padding: 0 10%;
}
body {
border: 1px solid gray;
}
footer {
height: 240px;
background-image: url(./Group\ 4265.svg);
}
.header-icon{
width: 100px;
margin-top: 60px;
margin-bottom: 60px;
}
.margin-top-60 {
margin-top: 60px;
}
.lato-bold {
font-size: 24px;
font-weight: bold;
line-height: 1.21;
letter-spacing: normal;
text-align: center;
color: #000000;
}
.lato-bolder {
font-weight: bold;
}
.font-size-21 {
font-size: 21px;
}
.font-size-18 {
font-size: 18px;
}
.margin-top-20 {
margin-top: 20px;
}
.margin-top-30 {
margin-top: 30px;
}
.margin-bottom-30 {
margin-bottom: 30px;
}
.width-100-percent {
width: 100%;
}
.flex-justify-space-around{
display: flex;
justify-content: space-around;
}
.flex-justify-space-between{
display: flex;
justify-content: space-between;
}
.flex-justify-space-between{
display: flex;
justify-content: center;
}
.flex{
display: flex;
}
.justify-flex-end {
justify-content: flex-end;
}
.maroon-bg {
color:#7a2693;
}
.width-80-percent {
width: 80%;
}
.dashed-border{
border: 1px dashed #8b4c9e;
width: 320px;
display: inline-block;
vertical-align: super;
}
.padding-left-right-10-percent {
padding-left: 10%;
padding-right: 10%;
}
.width-150 {
width: 150px;
}
.margin-bottom-20{
margin-bottom: 20px;
}
.flex-column {
display: flex;
flex-flow: column;
}
.footerIcons {
position: absolute;
margin-top: 100px;
width: 100%;
display: flex;
flex-flow: column nowrap;
}
.margin-left-20 {
margin-left:20px;
}
.color-white{
color: white;
}
/* @media (max-width: 767px) {
.main-container {
padding: 0;
}
} */
</style>
</head>
<body>
<section class="main-container">
<div class="header-icon"><img src="./Group 4254.svg" class="width-100"></div>
<div class="lato-bold">Package Purchase Successful!</div>
<div class="font-size-21 margin-top-60">Hi <span class="lato-bolder" th:text="${invoiceName}"></span></div>
<div class="font-size-18 margin-top-20">You have successfully purchased the <span class="lato-bolder" th:text="${planName}">SUPERSAVER</span> package.</div>
<div class="font-size-18"> Package details can be found below.</div>
<div class="margin-top-20 font-size-18 lato-bolder">Simplify Office Commute with GetToWork.</div>
<div class="font-size-18 lato-bolder">Enjoy Stress-free work days. </div>
<hr class="margin-top-30 width-100-percent">
<section id="packageDetails" class="width-80-percent margin-top-30 margin-bottom-30">
<div class="flex-justify-space-around font-size-18">
<div class="flex-column">
<span class="lato-bolder maroon-bg">Package Name</span>
<span th:text="${planName}" class="margin-top-30">SUPERSAVER</span>
</div>
<div class="flex-column">
<span class="lato-bolder maroon-bg">Rides/Validity</span>
<div class="margin-top-30">
<span th:text="${planBooking}">10 Rides/</span>
<span th:text="${planDays}">90 Days</span>
</div>
</div>
<div class="flex-column">
<span class="lato-bolder maroon-bg">Cost</span>
<div class="margin-top-30">₹<span th:text="${invoicePrice}">200</span></div>
</div>
</div>
<!-- <div class="flex-justify-space-around font-size-18 margin-top-30">
<span th:text="${planName}">SuperSaver</span>
<div>
<span th:text="${planBooking}">10 Rides/</span>
<span th:text="${planDays}">90 Days</span>
</div>
<div>₹ <span th:text="${invoicePrice}">200</div>
</div> -->
</section>
<hr class="width-100-percent">
<section>
<div class="margin-top-30 margin-bottom-30">
<img src="./Shape.svg">
<span class="dashed-border"></span>
<img src="./Group 2224.svg">
</div>
<div class="margin-bottom-20 flex-justify-space-between lato-bolder">
<span>Home</span>
<!-- <span class="visibilty-hide"></span> -->
<span>Office</span>
</div>
<div class="margin-bottom-30 flex-justify-space-between">
<span class="width-150">Infosys Pvt Ltd, Electronic City, Bangalore </span>
<!-- <span class="visibilty-hide"></span> -->
<span class="width-150 justify-flex-end flex">MoveInsync , 17th Cross, HSR Laypot, Bangalore</span>
</div>
</section>
</section>
<footer>
<div class="footerIcons">
<div class="flex-justify-space-between">
<a class="color-white" target="_blank" href="https://www.linkedin.com/company/14637641/admin/">
<img src="./Group 3013.svg" />
</a>
<a class="color-white margin-left-20" target="_blank" href="https://twitter.com/GetToWork6">
<img src="./Group 3012.svg" />
</a>
<a class="color-white margin-left-20" target="_blank" href="https://www.instagram.com/Get_To_Work_MIS/">
<img src="./Group 3015.svg" />
</a>
<a class="color-white margin-left-20" target="_blank" href="https://www.facebook.com/Get-To-Work-1391007324386201/">
<img src="./Path 611.svg" />
</a>
</div>
<div class="flex-justify-space-between margin-top-20">
<p style="font-size: 14px;" class="color-white">Copyright © MoveinSync Technology Solutions Pvt Ltd</p>
</div>
<div class="flex-justify-space-between" style="font-size: 14px;">
<a class="color-white" target="_blank" href="http://gettowork.io">
gettowork.io
</a>
<a class="color-white margin-left-20" href="">
Privacy Policy
</a>
<a class="color-white margin-left-20" href="">
Terms and Conditions
</a>
<a class="color-white margin-left-20" href="">
Help & FAQs
</a>
</div>
</div>
</footer>
</body>
</html>
最佳答案
该页面不适合移动屏幕,因为缺少 viewport
元数据。
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
这是你的页面
<!DOCTYPE html>
<html>
<head>
<title>GetToWork</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href='http://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>
<style>
.main-container {
display: flex;
flex-flow: column wrap;
align-items: center;
font-family:Lato, Arial, Sans serif;
padding: 0 10%;
}
body {
border: 1px solid gray;
}
footer {
height: 240px;
background-image: url(./Group\ 4265.svg);
}
.header-icon{
width: 100px;
margin-top: 60px;
margin-bottom: 60px;
}
.margin-top-60 {
margin-top: 60px;
}
.lato-bold {
font-size: 24px;
font-weight: bold;
line-height: 1.21;
letter-spacing: normal;
text-align: center;
color: #000000;
}
.lato-bolder {
font-weight: bold;
}
.font-size-21 {
font-size: 21px;
}
.font-size-18 {
font-size: 18px;
}
.margin-top-20 {
margin-top: 20px;
}
.margin-top-30 {
margin-top: 30px;
}
.margin-bottom-30 {
margin-bottom: 30px;
}
.width-100-percent {
width: 100%;
}
.flex-justify-space-around{
display: flex;
justify-content: space-around;
}
.flex-justify-space-between{
display: flex;
justify-content: space-between;
}
.flex-justify-space-between{
display: flex;
justify-content: center;
}
.flex{
display: flex;
}
.justify-flex-end {
justify-content: flex-end;
}
.maroon-bg {
color:#7a2693;
}
.width-80-percent {
width: 80%;
}
.dashed-border{
border: 1px dashed #8b4c9e;
width: 320px;
display: inline-block;
vertical-align: super;
}
.padding-left-right-10-percent {
padding-left: 10%;
padding-right: 10%;
}
.width-150 {
width: 150px;
}
.margin-bottom-20{
margin-bottom: 20px;
}
.flex-column {
display: flex;
flex-flow: column;
}
.footerIcons {
position: absolute;
margin-top: 100px;
width: 100%;
display: flex;
flex-flow: column nowrap;
}
.margin-left-20 {
margin-left:20px;
}
.color-white{
color: white;
}
/* @media (max-width: 767px) {
.main-container {
padding: 0;
}
} */
</style>
</head>
<body>
<section class="main-container">
<div class="header-icon"><img src="./Group 4254.svg" class="width-100"></div>
<div class="lato-bold">Package Purchase Successful!</div>
<div class="font-size-21 margin-top-60">Hi <span class="lato-bolder" th:text="${invoiceName}"></span></div>
<div class="font-size-18 margin-top-20">You have successfully purchased the <span class="lato-bolder" th:text="${planName}">SUPERSAVER</span> package.</div>
<div class="font-size-18"> Package details can be found below.</div>
<div class="margin-top-20 font-size-18 lato-bolder">Simplify Office Commute with GetToWork.</div>
<div class="font-size-18 lato-bolder">Enjoy Stress-free work days. </div>
<hr class="margin-top-30 width-100-percent">
<section id="packageDetails" class="width-80-percent margin-top-30 margin-bottom-30">
<div class="flex-justify-space-around font-size-18">
<div class="flex-column">
<span class="lato-bolder maroon-bg">Package Name</span>
<span th:text="${planName}" class="margin-top-30">SUPERSAVER</span>
</div>
<div class="flex-column">
<span class="lato-bolder maroon-bg">Rides/Validity</span>
<div class="margin-top-30">
<span th:text="${planBooking}">10 Rides/</span>
<span th:text="${planDays}">90 Days</span>
</div>
</div>
<div class="flex-column">
<span class="lato-bolder maroon-bg">Cost</span>
<div class="margin-top-30">₹<span th:text="${invoicePrice}">200</span></div>
</div>
</div>
<!-- <div class="flex-justify-space-around font-size-18 margin-top-30">
<span th:text="${planName}">SuperSaver</span>
<div>
<span th:text="${planBooking}">10 Rides/</span>
<span th:text="${planDays}">90 Days</span>
</div>
<div>₹ <span th:text="${invoicePrice}">200</div>
</div> -->
</section>
<hr class="width-100-percent">
<section>
<div class="margin-top-30 margin-bottom-30">
<img src="./Shape.svg">
<span class="dashed-border"></span>
<img src="./Group 2224.svg">
</div>
<div class="margin-bottom-20 flex-justify-space-between lato-bolder">
<span>Home</span>
<!-- <span class="visibilty-hide"></span> -->
<span>Office</span>
</div>
<div class="margin-bottom-30 flex-justify-space-between">
<span class="width-150">Infosys Pvt Ltd, Electronic City, Bangalore </span>
<!-- <span class="visibilty-hide"></span> -->
<span class="width-150 justify-flex-end flex">MoveInsync , 17th Cross, HSR Laypot, Bangalore</span>
</div>
</section>
</section>
<footer>
<div class="footerIcons">
<div class="flex-justify-space-between">
<a class="color-white" target="_blank" href="https://www.linkedin.com/company/14637641/admin/">
<img src="./Group 3013.svg" />
</a>
<a class="color-white margin-left-20" target="_blank" href="https://twitter.com/GetToWork6">
<img src="./Group 3012.svg" />
</a>
<a class="color-white margin-left-20" target="_blank" href="https://www.instagram.com/Get_To_Work_MIS/">
<img src="./Group 3015.svg" />
</a>
<a class="color-white margin-left-20" target="_blank" href="https://www.facebook.com/Get-To-Work-1391007324386201/">
<img src="./Path 611.svg" />
</a>
</div>
<div class="flex-justify-space-between margin-top-20">
<p style="font-size: 14px;" class="color-white">Copyright © MoveinSync Technology Solutions Pvt Ltd</p>
</div>
<div class="flex-justify-space-between" style="font-size: 14px;">
<a class="color-white" target="_blank" href="http://gettowork.io">
gettowork.io
</a>
<a class="color-white margin-left-20" href="">
Privacy Policy
</a>
<a class="color-white margin-left-20" href="">
Terms and Conditions
</a>
<a class="color-white margin-left-20" href="">
Help & FAQs
</a>
</div>
</div>
</footer>
</body>
</html>
关于html - 滚动不会进入移动 View ,因为内容大小很小,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56575342/
如果我 mov, eax 12345 和之后的 mov var, eax (假设 var 是一个 32 位的 int 等..等等)并输出 var 稍后它会正确输出。 与 ax 相同。 mov ax,
我有这个代码: for($nrt=0; $nrt"; if($sidesIndexes[$nrt]==$nrt) { echo "am I in??? ".$sidesInde
我正在阅读The Go Programming Language的8.5章,并陷入一些代码。下面的代码列表。 func main() { naturals := make(chan int)
我写了一个 MySQL 查询用于将数据导出到文本文件。 查询运行成功,但结果与我的预期不符。 我想在列之间没有间距的结果。 select sample_export_record1_2013.
在普通的 Excel 窗口中,我可以打开 VBE 并通过触摸键序列插入一个新模块:ALT+F11、ALTim 全部不使用鼠标。有没有办法打开 VBE 并导航到 本工作手册 不使用鼠标的代码区域? 最佳
我正在使用 axios 发出 http 请求。在 .then() 内部,我正在使用另一个 axios 调用。最后,我有第三个 then(),它应该在第二个 then 之后运行,但实际上并没有这样做。
我需要在 cocos2d 项目中播放视频..我的问题是:如何将 MPMoviePlayerController 放入我的 View 中,如下所示:? UIView *theView = [[CCDir
我正在学习 Angular。以下代码有效: .controller('abc', function ($scope, $http) { $http.get("/Handlers/Authenticat
目前我正在使用 WPF 学习 C#。我的主要方法是尽我所能使用 MVVM 模式,但现在我有点困惑。 在我所有 View 的应用程序中,我有一个 View 模型: private DruckviewVi
关于将 G 邮件提取到 Google 电子表格,我该如何添加 IF 以按主题驳回特定电子邮件?例如:电子邮件回复(主题中带有“RE:”)。我不希望这些电子邮件出现在我的电子表格中。 我尝试过使用 LO
我正在尝试使用 Spotify API 并进入数组。 const App = () => { const [isLoading, setIsLoading] = useState(true);
我有一个 html 模板,并且有一个条件为 --> 的代码 --> window.jQuery || document.write(""+"");
我正在开发一个 Android 应用程序,该应用程序会暴力破解从 int 创建的 MD5 和。 暴力破解部分工作正常。 (我可以sysout最终值并且它是正确的。) 我在将输出值发送到警报对话框时遇到
我正在创建一个界面,用户可以通过该界面生成多系列折线图,并控制绘制哪些数据集。 要绘制哪些数据集由复选框控制。页面加载时,默认数据集以图表形式呈现,并且 $('input:checkbox.data-
我尝试将有向无环图绘制为力布局。 但是我注意到,尽管为每个组元素灌输了进入/退出条件,弹出的节点/链接并没有从 DOM 中删除它们自己。 相反,弹出的节点/链接在力布局中卡住;这意味着没有调用进入/退
这里是新手。我不知道它是怎么发生的,但我正在处理一个程序,当我去调试并进入时,黄色箭头走到了我代码的最后并跳过了整个 block 。有快速解决方法吗? 最佳答案 按 F11,或单击工具栏上的“Step
我的 Action 栏 sherlock 中有一个列表。我想在用户点击该列表时得到。我不想知道用户何时点击某个项目,我已经知道 (onNavigationItemSelected)。 在我的 onCr
** 你好 **我如何从 ci 中的 mysql 日期获取 eurodate 来工作......无法弄清楚 - 请帮忙 想要获取日期 YY-mm- dd -> dd-mm-yy提前致谢 最佳答案 $t
我有以下脚本: #!/bin/bash ls -1 | while read d do [[ -f "$d" ]] && continue echo $d cd $d done
TL;DR - 跳转到最后一段 背景 我正在执行一些数据驱动测试,并将日志文件用作测试输出之一。它的工作原理是这样的- 读取文件夹中的第一个文件 处理第一行并转换为测试 运行测试 执行验证 1 ...
我是一名优秀的程序员,十分优秀!