我正试图让我的头脑现在已经有一段时间了:
是否可以仅使用Twitter Bootstrap创建一个pinterest布局?我知道有像砌体这样的jQuery插件,但没有它们没有办法吗?
谢谢
我需要回应很多PHP和HTML.
我已经尝试了显而易见的,但它不起作用:
<?php echo '
<?php if ( has_post_thumbnail() ) { ?>
<div class="gridly-image"><a href="<?php the_permalink() ?>"><?php the_post_thumbnail('summary-image', array('class' => 'overlay', 'title'=> the_title('Read Article ',' now',false) ));?></a>
</div>
<?php } ?>
<div class="date">
<span class="day">
<?php the_time('d') ?></span>
<div class="holder">
<span class="month">
<?php the_time('M') ?></span>
<span class="year">
<?php the_time('Y') ?></span>
</div>
</div>
<?php } ?>';
?>
Run Code Online (Sandbox Code Playgroud)
我该怎么做?
我正在使用双引导系统,并使用以下AppleScript设置启动卷:
tell application "Finder" to if not (disk "SoundHD" exists) then do shell script "diskutil mount " & last word of (do shell script "diskutil list | grep 'Apple_HFS SoundHD'")
do shell script "bless -mount \"/Volumes/SoundHD\" -setBoot --nextonly" with administrator privileges
display notification "Next Boot: SoundHD" with title "Neustart"
Run Code Online (Sandbox Code Playgroud)
由于El Capitan脚本将不再工作,我在脚本编辑器中收到以下错误消息:
tell application "Finder"
exists disk "SoundHD"
--> true
end tell
tell current application
do shell script "bless -mount \"/Volumes/SoundHD\" -setBoot --nextonly" with administrator privileges
--> error "Could not set …Run Code Online (Sandbox Code Playgroud) 是否可以使用 CSS 网格将每隔一行向右对齐并每隔一行向左对齐?数量.item未知。
这是 HTML/CSS:
.container {
grid-template-columns: repeat(4, 1fr);
}Run Code Online (Sandbox Code Playgroud)
<ul class="container">
<li class="item"></li>
<li class="item"></li>
<li class="item"></li>
<li class="item"></li>
<li class="item"></li>
<!-- ... -->
</ul>Run Code Online (Sandbox Code Playgroud)
我也对 CSS 网格之外的其他解决方案持开放态度。