草庐IT

webkit-transition-duration

全部标签

javascript - WebKit 相当于 Firefox 的 "moz-chunked-arraybuffer"xhr responseType

我想读取MP3流(从icecast读取ICY元数据,然后将二进制MP3数据传递给WebAudioApi)。Firefox有一个“moz-chunked-arraybuffer”xhrresponseType来读取进度数据,但我找不到webkit/chrome的任何等效项。编辑2014/02/03:Chrome已经开始实现xhr.responseType"stream"“解析”已登陆Chrome(使用--enable-experimental-webkit-features标志)但xhr.response结果对象(Stream)尚不能直接在Javascript中使用:https://co

html - Phonegap 样式-webkit-user-select : none; disabling text field

我是Phonegap的新手。我有一个问题,在干净的Phonegap元素中使用的默认css不允许输入文本字段。我将它缩小到一行CSS:*{-webkit-touch-callout:none;/*preventcallouttocopyimage,etcwhentaptohold*/-webkit-text-size-adjust:none;/*preventwebkitfromresizingtexttofit*/-webkit-tap-highlight-color:rgba(0,0,0,0);/*maketransparentlinkselection,adjustlastvalu

html - Phonegap 样式-webkit-user-select : none; disabling text field

我是Phonegap的新手。我有一个问题,在干净的Phonegap元素中使用的默认css不允许输入文本字段。我将它缩小到一行CSS:*{-webkit-touch-callout:none;/*preventcallouttocopyimage,etcwhentaptohold*/-webkit-text-size-adjust:none;/*preventwebkitfromresizingtexttofit*/-webkit-tap-highlight-color:rgba(0,0,0,0);/*maketransparentlinkselection,adjustlastvalu

html - 使 TBODY 在 Webkit 浏览器中可滚动

我知道thisquestion,但所有答案都不适用于Safari、Chrome等。公认的策略(asdemonstratedhere)是像这样设置tbody高度和溢出属性:Thisistheheaderanddoesn'tscrollcontentthatscrollscontentthatscrollscontentthatscrollscontentthatscrollscontentthatscrollscontentthatscrollscontentthatscrolls不幸的是,这在任何webkit浏览器中都不起作用。有一个bugreport关于它似乎不是一个高优先级(6月5

html - 使 TBODY 在 Webkit 浏览器中可滚动

我知道thisquestion,但所有答案都不适用于Safari、Chrome等。公认的策略(asdemonstratedhere)是像这样设置tbody高度和溢出属性:Thisistheheaderanddoesn'tscrollcontentthatscrollscontentthatscrollscontentthatscrollscontentthatscrollscontentthatscrollscontentthatscrollscontentthatscrolls不幸的是,这在任何webkit浏览器中都不起作用。有一个bugreport关于它似乎不是一个高优先级(6月5

html - <select> 和 :after with CSS in WebKit 的问题

我想用伪:after在选择框上添加一些样式(用2个部分和没有图像来设计我的选择框)。这是HTML:Test而且它不起作用。我不知道为什么,也没有在W3C规范中找到答案。这是CSS:select{-webkit-appearance:none;background:black;border:none;border-radius:0;color:white;}select:after{content:"";display:inline-block;width:24px;height:24px;background:blue;}那么这是正常现象还是有什么窍门呢?

html - <select> 和 :after with CSS in WebKit 的问题

我想用伪:after在选择框上添加一些样式(用2个部分和没有图像来设计我的选择框)。这是HTML:Test而且它不起作用。我不知道为什么,也没有在W3C规范中找到答案。这是CSS:select{-webkit-appearance:none;background:black;border:none;border-radius:0;color:white;}select:after{content:"";display:inline-block;width:24px;height:24px;background:blue;}那么这是正常现象还是有什么窍门呢?

html - 使用 -webkit-transform 时固定位置不起作用

我正在使用-webkit-transform(和-moz-transform/-o-transform)来旋转一个div。还添加了固定位置,以便div随用户向下滚动。在Firefox中它工作正常,但在基于webkit的浏览器中它被破坏了。使用-webkit-transform后,固定的位置不再起作用了!这怎么可能? 最佳答案 CSSTransformsspec解释了这种行为。具有转换的元素充当固定位置后代的包含block,因此position:fixed在具有转换的元素下不再具有固定行为。当应用于同一元素时,它们确实起作用;元素将定

html - 使用 -webkit-transform 时固定位置不起作用

我正在使用-webkit-transform(和-moz-transform/-o-transform)来旋转一个div。还添加了固定位置,以便div随用户向下滚动。在Firefox中它工作正常,但在基于webkit的浏览器中它被破坏了。使用-webkit-transform后,固定的位置不再起作用了!这怎么可能? 最佳答案 CSSTransformsspec解释了这种行为。具有转换的元素充当固定位置后代的包含block,因此position:fixed在具有转换的元素下不再具有固定行为。当应用于同一元素时,它们确实起作用;元素将定

ios - UIViewControllers Transitions Effect 像 iBooks 的书打开效果?

我一直在开发iBooks的克隆应用程序,在过去的2天里,我一直在尝试为书籍封面流程制作动画,例如iBookappperform。这是iBooks的截图,我的书架是这样的:当用户点击任何一本书时,我想像这样执行动画转换:你可以看到书的封面在左边翻转,白色的View是新的viewcontroller,用于加载书的内容。谁能帮我解决这个问题?我想执行完全相同的动画。有两个ViewController。 最佳答案 我在github上写了一个ibook打开效果demo,你可以看iBooksOpen