草庐IT

webkit-box-shadow

全部标签

html - 在 Webkit 中打印时控制 CSS 分页符

我正在尝试改善使用Webkit打印的html文档的外观,在这种情况下,通过对发生分页符的位置施加一些控制。我可以在需要使用的地方插入分页符:page-break-after:always;但是,我找不到避免在元素中间插入分页符的方法。例如,我有html表格,不应在多个页面的中间拆分。我的印象是page-break-inside:avoid;会阻止在元素内插入分页符,但它似乎没有做任何事情。我的代码如下所示:.dontsplit{border:2pxsolidblack;page-break-inside:avoid;}Sometitle尽管有page-break-inside:avoi

html - 在 Webkit 中打印时控制 CSS 分页符

我正在尝试改善使用Webkit打印的html文档的外观,在这种情况下,通过对发生分页符的位置施加一些控制。我可以在需要使用的地方插入分页符:page-break-after:always;但是,我找不到避免在元素中间插入分页符的方法。例如,我有html表格,不应在多个页面的中间拆分。我的印象是page-break-inside:avoid;会阻止在元素内插入分页符,但它似乎没有做任何事情。我的代码如下所示:.dontsplit{border:2pxsolidblack;page-break-inside:avoid;}Sometitle尽管有page-break-inside:avoi

html - 显示文档 : -webkit-inline-box;

我很想找到有关-webkit-inline-box属性的更多详细信息,但我似乎无法在任何地方找到任何东西。我尝试了w3c、google、css-tricks的常规channel,但我没有想出任何办法。我认为这是从flexbox继承的旧代码。有谁知道...的详情display:-webkit-inline-box;? 最佳答案 I'mthinkingthatit'soldinheritedcodefromflexbox.你是对的。分别由display:box和display:inline-box定义的flex盒子是现在所谓的flex容

html - 显示文档 : -webkit-inline-box;

我很想找到有关-webkit-inline-box属性的更多详细信息,但我似乎无法在任何地方找到任何东西。我尝试了w3c、google、css-tricks的常规channel,但我没有想出任何办法。我认为这是从flexbox继承的旧代码。有谁知道...的详情display:-webkit-inline-box;? 最佳答案 I'mthinkingthatit'soldinheritedcodefromflexbox.你是对的。分别由display:box和display:inline-box定义的flex盒子是现在所谓的flex容

html - 光标 :pointer property doesn't apply to file upload buttons in Webkit browsers

我的CSS代码并不真正适用于webkit浏览器,例如safari和chrome如果你想要这里的实例,它是http://jsfiddle.net/mnjKX/1/我有这个CSS代码.file-wrapper{cursor:pointer;display:inline-block;overflow:hidden;position:relative;}.file-wrapperinput{cursor:pointer;font-size:100px;height:100%;filter:alpha(opacity=1);-moz-opacity:0.01;opacity:0.01;posit

html - 光标 :pointer property doesn't apply to file upload buttons in Webkit browsers

我的CSS代码并不真正适用于webkit浏览器,例如safari和chrome如果你想要这里的实例,它是http://jsfiddle.net/mnjKX/1/我有这个CSS代码.file-wrapper{cursor:pointer;display:inline-block;overflow:hidden;position:relative;}.file-wrapperinput{cursor:pointer;font-size:100px;height:100%;filter:alpha(opacity=1);-moz-opacity:0.01;opacity:0.01;posit

html - -webkit-填充-开始 : 40px; What it should be for IE and Firefox?

-webkit-padding-start:40px;适用于ChromeIE和Firefox有什么用? 最佳答案 对于Firefox,属性名称是-moz-padding-start.对于IE,没有对应的(到目前为止)。至少在页面整体为从左到右或从右到左的布局和书写方向的简单场景中,您可以使用广泛支持的CSS功能实现相同的效果。使用或,分别,你可以这样写你的CSS代码:[dir=ltr].foo{padding-left:2.5em;}[dir=rtl].foo{padding-right:2.5em;}这对应于.foo{paddin

html - -webkit-填充-开始 : 40px; What it should be for IE and Firefox?

-webkit-padding-start:40px;适用于ChromeIE和Firefox有什么用? 最佳答案 对于Firefox,属性名称是-moz-padding-start.对于IE,没有对应的(到目前为止)。至少在页面整体为从左到右或从右到左的布局和书写方向的简单场景中,您可以使用广泛支持的CSS功能实现相同的效果。使用或,分别,你可以这样写你的CSS代码:[dir=ltr].foo{padding-left:2.5em;}[dir=rtl].foo{padding-right:2.5em;}这对应于.foo{paddin

html - fb :like-box, 自定义 CSS?

是否可以将自定义css文件添加到fb:like-box?例如,我想删除iframe周围的边框。谢谢 最佳答案 新的点赞框不接受“css”属性。你必须使用旧的fb:fan插件来实现它。例如:记得添加“all.js”。 关于html-fb:like-box,自定义CSS?,我们在StackOverflow上找到一个类似的问题: https://stackoverflow.com/questions/4874755/

html - fb :like-box, 自定义 CSS?

是否可以将自定义css文件添加到fb:like-box?例如,我想删除iframe周围的边框。谢谢 最佳答案 新的点赞框不接受“css”属性。你必须使用旧的fb:fan插件来实现它。例如:记得添加“all.js”。 关于html-fb:like-box,自定义CSS?,我们在StackOverflow上找到一个类似的问题: https://stackoverflow.com/questions/4874755/