Blog 板


LINE

这几天为了纪录生活开始经营部落格,选定了某瀑布流样板来套用,很喜欢这种图片整合的方式,不够他的阅览顺序是上至下再左到右: 1 4 2 5 3 6 我希望可以改成先左至右,再上至下 1 2 3 4 5 6 研究了好几天语法都失败,能帮帮我吗?目前语法:/* ---------------------------------------------------------------瀑布流-------------------------------- #calendar .cal-forward a, #calendar .cal-backward a { color: #1db954; } #calendar table { width: 100%; height: 180px; } #calendar th, #calendar td { text-align: center; padding: 1px; } #calendar td a { -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; border-radius: 5px; background: #1db954; color: #ffffff; display: block; } /* ---------------------------------------------------------------footer---------------------------------------------------------------*/ #footer #bottom:before { display: block; margin: 39px auto; color: #1db954; content: "Copyright c CSS designed by BlueHorace"; } font-size: 13 /* --------------------------------------------------------------- 首页瀑布流---------------------------------------------------------------*/ #blog-main .article-body { color: #666; font-size: 14px; letter-spacing: 2px; } #blog-main .article-content-inner p:first-child img { max-width: 400px; margin-top: -94px; height: auto; } @-moz-document url-prefix() { @-moz-document url-prefix() { #blog-main .article-content-inner p:first-child img { margin-top: -95px; } } #blog-main .article-content-inner img { max-width: 400px; margin-left: -20px; height: auto; } #blog-main .article { background: #fff; width: 400px; display: inline-block; box-sizing: border-box; margin: 0px 0px 30px 0; line-height: 1.5em; letter-spacing: 1pt; -moz-box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 4px; -webkit-box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 4px; box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 4px; } #blog-main .article-content p { padding: 0 20px; } #article-main #trackback-url { text-align: center; text-align: center; margin: 22px 0 10px 0; } #article-main #trackback-input { width: 580px; margin: 0 5px 0 0; } #article-main .article-body { font-size: 15px; color: #333; } #article-main .recommended-posts3 { margin: 20px 20px !important; } #article-main .recommended-posts3 a { color: #1db954; border-left: none !important; } #article-main .recommended-posts3 h5 { font-size: 15px !important; font-weight: 900 !important; color: #333 !important; opacity: 1 !important; } #article-main .author { margin: 0px 20px 20px 0px; text-align: right; } #article-main #comment-area { width: 100% !important; width: 100% !important; background: none !important; border: none !important; } #article-main #comment-area-2 { width: 100% !important; background: none !important; border: none !important; } #article-main .comment-identity.identity-logout { background: none !important; } #article-main .comment-body { border: none !important; } #article-main .comment-identity.identity-logout { border: none !important; } #article-main .comment-identity.identity-login { background: none !important; border: none !important; } #article-main #container #main #content #user-post #comment-box .comment-body p { margin: 0 0 8px 0; line-height: 18px; border-bottom: 1px dashed #ccc !important; border-top: 1px dashed #ccc !important; padding: 10px 0 10px 0 !important; text-align: center; } text-align: center; } #article-main #container #main #content #user-post #comment-box input.comment-name { background: #fff !important; width: 93% !important; line-height: 28px !important; height: auto; padding: 0px 10px !important; } #article-main .comment-textarea { width: 100% !important; } @media screen and (min-width: 2140px) { #blog-main #container3 { width: 2120px; } #blog-main #content { -moz-column-count: 5; -webkit-column-count: 5; column-count: 5; -moz-column-gap: 30px; -webkit-column-gap: 30px; column-gap: 30px; } } @media screen and (min-width: 1720px) and (max-width: 2139px) { #blog-main #container3 { width: 1700px; } width: 1700px; } #blog-main #content { -moz-column-count: 4; -webkit-column-count: 4; column-count: 4; -moz-column-gap: 30px; -webkit-column-gap: 30px; column-gap: 30px; } } @media screen and (min-width: 1300px) and (max-width: 1700px) { #blog-main #container3 { width: 1280px; } #blog-main #content { -moz-column-count: 3; -webkit-column-count: 3; column-count: 3; -moz-column-gap: 30px; -webkit-column-gap: 30px; column-gap: 30px; } } @media screen and (min-width: 860px) and (max-width: 1299px) { #blog-main #container3 { width: 840px; } #blog-main #content { -moz-column-count: 2; -moz-column-count: 2; -webkit-column-count: 2; column-count: 2; -moz-column-gap: 30px; -webkit-column-gap: 30px; column-gap: 30px; } } @media screen and (max-width: 859px) { #blog-main .article { overflow: hidden; } #article-main .article { overflow: hidden; } #navigation { width: 272px; } #navigation li { margin: 0px 5px 0px 0px; } #topbar { display: none; } .topbar-placeholder { .topbar-placeholder { display: none; } #footer #bottom:before { margin: 15px auto; } #blog-category { top: 210px; } #blog-main #container3 { width: 100%; } #blog-main .article { width: 100%; max-width: 400px; margin: 0 auto 30px auto; display: block; } #blog-main #links { display: none; } #blog-main .more { width: 100%; } #article-main #comment-box .single-post { width: 77%; } width: 77%; } #article-main .comment-identity { display: none !important; } #article-main #comment-area-2 > iframe { display: none; } #article-main #trackback-input { width: 85%; } #article-main .comment-textarea > textarea { width: 94% !important; } #article-main #links { display: none; } #article-main #d_clip_button { margin-top: 15px; } #article-main .article-content-inner img { max-width: 100% !important; height: auto !important; } } @media screen and (max-width: 1300px) { #article-main #container3 { width: 100%; } #article-main #content { padding: 10px; } } .article-keyword { margin-left: 17px; } margin-left: 17px; } .article-keyword a { color: #1db954; } .article-keyword img { margin-top: 0px !important; margin-left: 0px !important; } #article-main .article-head { background: none; padding: 50px 0px; } #article-main .publish { text-shadow: none; color: #333; text-align: center; } #article-main .title h2 a { color: #000; text-shadow: none; font-size: 36px; text-align: center; line-height: 36px; } #article-main .title h2 { text-align: center; overflow: hidden; overflow: hidden; white-space: normal; text-overflow: ellipsis; } #article-main .author-profile { padding: 0 20px; } body { background-color: #e6e6e6; } body { background-image: none; } #links { background-color: #ffffff; } #header { background-image: url(https://pic.pimg.tw/ck4xup6home/1496478748-1299486262_l.jpg);; } #header { background-position: top; } #header { background-repeat: no-repeat; } .publish { color: #ffffff; } --



※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 223.140.52.55
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Blog/M.1496676151.A.982.html ※ 编辑: TheSandman (223.140.52.55), 06/05/2017 23:23:26
1F:推 tools241: Google搜[痞客邦 PIXNET 面版样式(CSS) 设定] 06/08 13:35
2F:→ tools241: Google搜[随意窝 Xuite 面版样式(CSS) 设定] 06/08 13:35







like.gif 您可能会有兴趣的文章
icon.png[问题/行为] 猫晚上进房间会不会有憋尿问题
icon.pngRe: [闲聊] 选了错误的女孩成为魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一张
icon.png[心得] EMS高领长版毛衣.墨小楼MC1002
icon.png[分享] 丹龙隔热纸GE55+33+22
icon.png[问题] 清洗洗衣机
icon.png[寻物] 窗台下的空间
icon.png[闲聊] 双极の女神1 木魔爵
icon.png[售车] 新竹 1997 march 1297cc 白色 四门
icon.png[讨论] 能从照片感受到摄影者心情吗
icon.png[狂贺] 贺贺贺贺 贺!岛村卯月!总选举NO.1
icon.png[难过] 羡慕白皮肤的女生
icon.png阅读文章
icon.png[黑特]
icon.png[问题] SBK S1安装於安全帽位置
icon.png[分享] 旧woo100绝版开箱!!
icon.pngRe: [无言] 关於小包卫生纸
icon.png[开箱] E5-2683V3 RX480Strix 快睿C1 简单测试
icon.png[心得] 苍の海贼龙 地狱 执行者16PT
icon.png[售车] 1999年Virage iO 1.8EXi
icon.png[心得] 挑战33 LV10 狮子座pt solo
icon.png[闲聊] 手把手教你不被桶之新手主购教学
icon.png[分享] Civic Type R 量产版官方照无预警流出
icon.png[售车] Golf 4 2.0 银色 自排
icon.png[出售] Graco提篮汽座(有底座)2000元诚可议
icon.png[问题] 请问补牙材质掉了还能再补吗?(台中半年内
icon.png[问题] 44th 单曲 生写竟然都给重复的啊啊!
icon.png[心得] 华南红卡/icash 核卡
icon.png[问题] 拔牙矫正这样正常吗
icon.png[赠送] 老莫高业 初业 102年版
icon.png[情报] 三大行动支付 本季掀战火
icon.png[宝宝] 博客来Amos水蜡笔5/1特价五折
icon.pngRe: [心得] 新鲜人一些面试分享
icon.png[心得] 苍の海贼龙 地狱 麒麟25PT
icon.pngRe: [闲聊] (君の名は。雷慎入) 君名二创漫画翻译
icon.pngRe: [闲聊] OGN中场影片:失踪人口局 (英文字幕)
icon.png[问题] 台湾大哥大4G讯号差
icon.png[出售] [全国]全新千寻侘草LED灯, 水草

请输入看板名称,例如:BuyTogether站内搜寻

TOP