这条线在CSS中意味着什么?
#ffffff url(https://cloud.githubusercontent.com/assets/1830348/15354890/1442159a-1cf0-11e6-92b1-b861dadf1750.jpg) no-repeat center center / cover
Run Code Online (Sandbox Code Playgroud)
我想弄清楚.在W3S中它说下面的结构,但我似乎无法看到'/'和其他属性如何匹配这个结构.
background: bg-color bg-image position/bg-size bg-repeat bg-origin bg-clip bg-attachment initial|inherit;
Run Code Online (Sandbox Code Playgroud) 我注意到旧 Bootstrap v3 和新 Bootstrap V4 之间的内联表单的行为方式有所不同。
我有两个代码片段:
在这个版本中,当页面变窄时,每个表单元素都会调整大小以占据页面的整个宽度。Bootstrap 4 不再发生这种情况。我看不到Bootstrap 3 文档提到了这种全角行为 - 但它仍然这样做 - 因为,这些字段在内联表单上仍然是全角的在一个form-group
div 中。
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<h1>bootstrap/3.3.6</h1>
<form class='form-inline' role='form' action='search.php' method='post' id='form_search'>
<input type='hidden' name='method' value='search' />
<div class='form-group'>
<input type='text' class='form-control' id='str' name='str' placeholder = 'Search'>
</div>
<div class='form-group'>
<select name='mn' id='mn' class='form-control'>
<option value='n'>Month</option>
<option value='1'>January</option>
<option value='2'>February</option>
</select>
</div>
<div class='form-group'>
<select class='form-control' name='yr' id='yr'>
<option value='n'>Year</option>
<option value='1995'>1995</option>
<option value='1996'>1996</option>
</select>
</div>
<div class='form-group'> …
Run Code Online (Sandbox Code Playgroud)我无法按样式属性检索元素.我有ul
几个li
元素,我想找到一个具有值的样式属性的元素display:list-item
.我试图通过几种方式来解决这个问题,包括以下方面,但我不断得到一个空对象.我没有标题属性的问题.不确定我做错了什么.
$('li[style*=display:list-item]')
Run Code Online (Sandbox Code Playgroud)
HTML:
<ul class="bjqs" style="height: 200px; width: 100%;">
<li class="bjqs-slide" style="height: 200px; width: 100%; display: list-item;">
Run Code Online (Sandbox Code Playgroud) 我理解这margin: 0 auto;
意味着元素顶部和底部的大小为0的边距,以及在元素的左侧和右侧均等分割的大小边距.
这可以像我在下面的示例中所期望的那样工作 - 但是当我将其更改为margin: 1 auto
(或任何其他数字)时,内部元素将一直移动到左侧.我原以为它会保持中心但是会垂直缩小.
码:
#outer {
height: 30px;
background: blue;
}
#inner {
margin: 0 auto;
width: 100px;
height: 100%;
background: red;
}
Run Code Online (Sandbox Code Playgroud)
<div id="outer">
<div id="inner"></div>
</div>
Run Code Online (Sandbox Code Playgroud)
我如何将参数传递给启用通量的控制器,以便控制器操作识别它?
我使用构建器创建了一个扩展,并将以下方法添加到 ContentController。
/**
* @param string $var
*/
public function exampleAction($var = null) {
var_dump($var);
die;
}
Run Code Online (Sandbox Code Playgroud)
但无论我如何将参数添加到 URL,结果都只是“null”。
扩展目录是“test” $_EXTKEY
,. 构建器将“Mac.Test”放入其中ext_tables.php
以调用registerProviderExtensionKey()。所以在 URL 中我尝试了这些参数:
http://host/index.php?id=1&tx_test_content[var]=abc
http://host/index.php?id=1&tx_test[var]=abc
http://host/index.php?id=1&tx_mactest_content[var]=abc
http://host/index.php?id=1&tx_mactest[var]=abc
http://host/index.php?id=1&var=abc
Run Code Online (Sandbox Code Playgroud)
和其他一些。但无济于事。
我尝试使用f:link.action
ViewHelper,结果是
http://localhost/test2/index.php?id=1&no_cache=1&tx_test_content[member]=foo&tx_test_content[action]=example&tx_test_content[controller]=Content
另外 $this->request->getArguments() 只返回一个空数组,因此肯定存在严重错误。
使用的版本:
PHP 5.6.11
TYPO3 6.2.21
vhs 2.4.0
Flux 7.2.3
Fluidpages 3.3.1
FluidContent 4.3.3
FluidContent_Core 1.3.0
builder 1.0.0
没有安装其他任何东西(新系统只是为了测试此行为)。
当我尝试在TCA中添加名为wizard_geo_selector的向导时,出现错误"模块未注册".请告诉我如何在TCA中正确注册向导.
.posts .img-hover:before {
content: '';
display: block;
opacity: 0;
-webkit-transition: opacity 1.2s ease;
-moz-transition: opacity 1.2s ease;
-ms-transition: opacity 1.2s ease;
-o-transition: opacity 1.2s ease;
transition: opacity 1.2s ease-out;
}
.posts .img-hover:hover:before {
content: '';
display: block;
background: url("img/Texture1.png");
width: 320px;
/* image width */
height: 220px;
/* image height */
position: absolute;
top: 13px;
right: 2px;
opacity: 1;
}
Run Code Online (Sandbox Code Playgroud)
<div class="posts">
<a href="#">
<h2 class="postname">
Travel Flashback #1 </h2>
</a>
<a class="img-hover" href="#">
<img width="960" height="720" src="http://.." class="img-hover" alt="" …
Run Code Online (Sandbox Code Playgroud)我无法在TYPO3中更新扩展名列表.这是他给我的错误:
Could not access remote resource http://repositories.typo3.org/mirrors.xml.gz.
Run Code Online (Sandbox Code Playgroud)
我正在运行Windows 10.在XAMPP v3.2.2(PHP 7.0.9)上运行的TYPO3 8.3.1
我尝试了几件事,从编辑php.ini到编辑httpd.conf,但对我来说没什么用.
谢谢你的帮助!
我正在尝试在检查组中的一个选项时显示div,否则显示隐藏.我认为这应该有效,但它不起作用.
https://jsfiddle.net/47ctm349/2/
#form-group-osobko {
display: none;
}
#odber-1:checked+#form-group-osobko {
display: block;
}
Run Code Online (Sandbox Code Playgroud)
<!-- Multiple Checkboxes -->
<div class="form-group">
<label class="col-md-4 control-label" for="odber">Zp?sob platby</label>
<div class="col-md-4">
<div class="checkbox">
<label for="odber-0">
<input type="checkbox" name="odber" id="odber-0" value="1"> Dobírka
</label>
</div>
<div class="checkbox">
<label for="odber-1">
<input type="checkbox" name="odber" id="odber-1" value="2"> Hotov? p?i osobním odb?ru
</label>
</div>
<div class="checkbox">
<label for="odber-2">
<input type="checkbox" name="odber" id="odber-2" value="3"> Platba p?edem na ú?et
</label>
</div>
</div>
</div>
<!-- Text input-->
<div class="form-group" id="form-group-osobko">
<label class="col-md-4 control-label" for="osobniodber">Místo osobního …
Run Code Online (Sandbox Code Playgroud)我正在尝试制作一个搜索栏,其中绿色 div 位于灰色 div 的中间(请参阅http://codepen.io/anon/pen/LRBEvq?editors=1100)和复选框,选择下拉菜单,然后输入字段全部内联有两个按钮 - 所以所有内容都在同一行。我正在使用 Bootstrap 使其具有响应能力,但卡住了并且无法弄清楚..感谢您的所有帮助!
这是我的html:
.main {
background-color: grey;
width: 1202px;
height: 156px;
margin: 0 auto;
}
.formContainer {
width: 1140px;
height: 85px;
background-color: green;
}
button {
height: 37px;
width: 160px;
}
.choice {
background-color: lightgrey;
height: 37px;
}
.checkbox {
width: 207px;
border: 1px solid white;
}
.choice-select {
width: 173px;
}
.choice-input {
width: 390px;
}
Run Code Online (Sandbox Code Playgroud)
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<body>
<div class="container">
<div class="main">
<div class="formContainer">
<div class="col-md-12">Lorem …
Run Code Online (Sandbox Code Playgroud)css ×6
css3 ×3
html ×3
typo3 ×3
background ×1
bootstrap-4 ×1
flux ×1
jquery ×1
php ×1
syntax ×1
transactions ×1
typo3-6.2.x ×1
typo3-7.x ×1
windows-10 ×1
xampp ×1