display 相关问题

Display是指CSS中的样式属性。常见值包括 - 但不限于 - 块,内联块,内联,表,flex,无。

表单转到 HTML 中的下一行

我正在标题内创建一个界面,带有文本输入和提交按钮的界面会自动向下移动到页面的下方,而我用作按钮的其他锚标记则保留在同一个l...

回答 2 投票 0

经典 ASP - 用于存储和显示按公共字段分组的多行的多维数组

我的数据库中有这些数据 公司 |类别 |品牌 -------------------------------- 公司 1 |类别 2 |品牌A 公司 1 |类别 2 |品牌B 公司 1 |类别 2 |品牌...

回答 0 投票 0

Android设备显示尺寸设置缩放应用程序(React Native)

我已经彻底研究了在我的应用程序中阻止 Android 设备显示尺寸缩放的问题,并尝试了 How-do-i-prevent-android-device-display-size-scaling-in-my-app 中的解决方案。 到了...

回答 0 投票 0

SwiftUI 应用程序能否在辅助功能下控制缩放

SwiftUI 应用程序可以在辅助功能下控制缩放吗? 我查看了 UIScreenMode availableModes 并没有看到方法

回答 0 投票 0

最后一张图片在缩小时永远延伸

如果我尝试缩小到最大,无论我放入的图像是什么,如果它是最后一个,那么它将永远拉伸,而其他图像则保持应有的状态。 [ 这是 25% 缩放。 如果我尝试缩小到最大,无论我放入什么图像,如果它是最后一张,那么它将永远拉长,而其他图像则保持应有的状态。 [ 这是 25% 缩放。 <div class="sh3-background" id="scroll3"> <img src="sh3-background.jpg" alt="" class="shbg"> <img src="sh3-logo.png" alt="" class="sh2logobg"> <div class="shcontent"> <h3>Silent Hill 3 is a survival horror game developed by Team Silent and published by Konami in 2003. It is the third installment in the Silent Hill series and a direct sequel to the first Silent Hill game. The game follows Heather, a teenager who becomes entangled in the machinations of the town’s cult, which seeks to revive a malevolent deity. The game was critically successful and praised for its presentation, including the environments, graphics and audio, as well as the overall horror elements and themes that are continued from past installments.</h3> <h1>PLATFORMS:</h1> <ul> <li>PLAYSTATION 2</li> </ul> <iframe width="220" height="115" src="https://www.youtube.com/embed/9s5t6R3aWwY"> </iframe> </div> </div> <div class="shf-background" id="scroll4"> <img src="shf-background.png" alt="" class="shbg"> <img src="shf-logo.png" alt="" class="sh2logobg"> <div class="shcontent"> <h3>Silent Hill f is an upcoming survival horror game developed by NeoBards Entertainment and published by Konami. It is the ninth mainline game in the Silent Hill franchise and the first mainline title in the franchise in over a decade. Unlike previous games in the series, it is not being set in the titular town, but in 1960s rural Japan.</h3> <h1>PLATFORMS:</h1> <ul> <li>PLAYSTATION 5</li> <li>STEAM</li> </ul> <iframe width="220" height="115" src="https://www.youtube.com/embed/ZqzK_nqDU9M"> </iframe> </div> </div> 这是用过的CSS .shbg { position: absolute; width:99%; } .shcontent{ position:relative; margin-left:1.2em; margin-top:0.5em; color:white; font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; font-style:normal; font-weight: 400; font-size: 20px; line-height: 37px; text-shadow: 2px 2px 5px black; } 我试过搞乱高度,但没关系,它总是被放入的最后一张图像被搞砸了,我不知道如何阻止它。

回答 0 投票 0

我需要隐藏一个小部件的H2

我有一个博客,我在其中使用 GetYourGuide 的附属链接。 特别是,我在此页面中使用它: https://www.visitare.net/best-tours-in-bologna/ 我通过 HTML 插入会员小部件...

回答 2 投票 0

窗体缩放布局设置问题

我有一个用 DelphiXE8 开发的应用程序,当 windows11 或 win10 比例布局设置为 125% 时,我最小化了通常位于统计信息左下方的辅助表单...

回答 0 投票 0

表情符号在 VS 代码终端中无法正确显示

我在 VS Code 上有一个小问题。我正在使用一些表情符号,当在 VS Code 中使用 git bash 时,这些表情符号无法在终端上正确显示。 显示的是 而不是表情符号。他们中的一些人...

回答 1 投票 0

如何在pygame zero中为单个像素着色

我不能也不想知道如何在 pygame 零中使用图像。我想到了一种替代方法,即使用 def 函数制作一个 spritesheet。我不知道如何为特定位置的像素着色...

回答 0 投票 0

How to display a tensor image in google colab??请在我的代码中查找错误

我无法显示保存在驱动器上的图像。请帮助更正代码。 这是代码: `导入cv2 进口手电筒 将 matplotlib.pyplot 导入为 plt img = cv2.imread('/content/drive/

回答 1 投票 0

如何使用 Python 在 Jupyter 中使用“显示”显示一个额外的字符串?

我有许多用 SymPy 创建的数学对象,它们在 Jupyter 中使用“显示”显示良好。例如,我可以使用许多功能来显示: 显示(...

回答 0 投票 0

在 bootstrap 5.3 中将轮播标题对齐到顶部

我正在尝试将我所有的内联样式放入 css - 或者最好只使用引导程序类来进行样式设置。如果我添加内联样式,我可以垂直对齐我的旋转木马标题,但似乎无法广告...

回答 0 投票 0

ffmpeg 在 cron 启动脚本时不起作用 - 未指定协议,无法打开显示:0.0

ffmpeg 在 cron 启动脚本时不起作用 错误:未指定协议,无法打开显示:0.0 操作系统:Ubuntu 20.04 #!/bin/庆典 日志=/var/log/log2/log2.txt echo ____________ $(日期) &...

回答 0 投票 0

在 Java 中显示然后关闭框架

这里的代码: 公共课 attrape_ball { JFrame 框架 = new JFrame(); JPanel attrape = new JPanel(); 公共 attrape_ball(pokeball pk){ JLabel ramasseball = new JLabel("...

回答 1 投票 0

如何显示不同高度的imgs或div?

我在 div 中有一些使用 Bootstrap 的类行,但我想做我在图像中显示的内容,有图像或文本,而不是在网格中显示我的所有文本。 因为我有一些...

回答 0 投票 0

我可以将此显示器 (ER-TFTM101-1) 连接到 Raspberry Pi 4 吗?

我打算用10.1英寸的显示器做智能镜。 当我搜索要使用的显示器时,我发现了这个显示器: https://www.buydisplay.com/serial-spi-i2c-10-1-inch-tft-lcd-module-dislay-w-ra8876...

回答 0 投票 0

“浮动”对象对于 arabic_reshaper.reshape 不可迭代

我在运行时有这个脚本显示错误 从 bidi.algorithm 导入 get_display 导入 arabic_reshaper res2 = {get_display(arabic_reshaper.reshape(k)): v for k,v in bow1.items()} 数据 = pd.DataFrame(...

回答 0 投票 0

如何使父 div 不呈现和可视化,但在媒体查询中保持子组件可视化?

我想实现在父 div 的 dom 树中不显示任何内容,但要保持子 div 仅通过 css 可视化。 // 保留这个 div ... 我想实现在父 div 的 dom 树中不显示任何内容,但要保持子 div 仅通过 css 可视化。 <div> // keep this div <div> // with media query make this div dissapear <div> // keep this div </div> </div> </div> 如果您将第二个 div 设置为“显示:无;”在 css 中会消失,因此第三个 div 也会消失,因为它在第二个 div 的内部,如果你只想不可见,就不要在第二个 div 中添加任何 css,然后它会看起来不可见,如果你想看到你可以在他的 css 中添加一个 div “border: 1px solid red;”你会看到 div 占用的所有空间。 在父级上设置display: none会阻止显示子元素,我不认为有任何解决方法,但是visibility属性可以被孩子覆盖,所以在父级上设置visibility: hidden和 visibility: visible 在孩子身上只会让父母不可见。但是,它仍会占用 DOM 中的空间,但您可以尝试定位和盒子模型,使其适用于您的用例。

回答 2 投票 0

强积金财务在图表上显示 ohlc

在图表窗口中显示了 y(纵坐标),但我希望显示我的光标所在的蜡烛的开盘价、最高价、最低价和收盘价 在此处输入图像描述 这就对了 阅读

回答 0 投票 0

html中的我的部分不是百视图高度

HTML \ \ \ HTML \<section class="about" id="two"\> \<div class="about-1"\> \<img src="./Images/person.jpg" alt="" class="img-2"\> \</div\> \<div class="about-2"\> \<h2\>About \<span id="low"\>Me\</span\>\</h2\> \<h3 id="heading"\>Frontend Developer\</h3\> \<p\>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Culpa eos iure sed similique quibusdam aspernatur doloremque commodi voluptate. Non est, eius ex, eveniet fugiat delectus repudiandae. Eius, doloremque dolores incidunt suscipit assumenda aliquam nemo dicta repellendus, in quaerat recusandae laboriosam natus. Cupiditate eum, asperiores quod nulla quae dolor perspiciatis aspernatur.\</p\> \<a href="#" class="btn-1"\>Read More\</a\> \</section\> \<section class="services" id="three"\> \<h2 id="buy"\>Our \<span id="buy-1"\>Services\</span\>\</h2\> \<div class="services-1"\>\</div\> \</section\> CSS .about{ display: flex; height: 100vh; justify-content: space-between; gap: 100px; align-items: center; width: 100%; margin: auto; padding: 70px 120px 0 120px; background: #323946; } .img-2{ max-width: 450px; height: 450px; border-radius: 40px; border: 10px solid #0ef; box-shadow: 0px 0px 4px 0px #0ef; } .about-2{ margin-bottom: -50px; } h2{ font-size: 3em; font-weight: 700; padding-bottom: 0; margin-bottom: 0; margin-top: -100px; } #low{ color: var(--color1); } #heading{ margin-top: 0; padding-top: 0; } .btn-1{ display: inline-block; text-decoration: none; margin-top: 50px; border-radius: 30px; background: var(--color1); padding: 14px 28px; box-shadow: 0 0 10px var(--color1); transition: .7s; font-weight: 600; } .services{ height: 100vh; } 我的section tag设置为100vh但是这个section的内容一直在侵占上一个section 标签 我预计关于部分为 100vh,服务部分为 100vh,但根据我使用的背景颜色,服务部分未达到 100vh。 你可能应该包括: * { padding: 0; margin: 0; } 这将概括填充和边距以适合。 接下来,您可以将高度设置为 100%。 如果有效,请告诉我。

回答 1 投票 0

© www.soinside.com 2019 - 2024. All rights reserved.