transition

差点就错过你

旧街凉风 提交于 2019-12-01 15:19:21
之前一直有个想法,想要建立一个自己的个性博客,考虑过github建立博客,看了看步骤,放弃了 偶然发现一下好看的博客,怎么都是cnblogs, 然后发现了一个新的世界,昨晚兴奋滴久久不能入眠。 推荐一下美化博客的链接 好吧,更改我这样子的博客,找不到了-_-! 就把相应代码放在这里吧! 定制化 如果看着自己博客哪里不舒服,就按F12打开浏览器的调试界面,可以具体看看其属性,改改看看效果,如果可以,在更新到后台这里(html小白,表示也会了)。 博客皮肤选择:ThinkInside 页面定制css代码 /*主页面样式*/ html{_background-image:url(none.jpg)}body{background:#EBEDF0 url(http://images.cnblogs.com/cnblogs_com/kingwell/389641/o_debut-light.png) repeat 0 0;color:#555;font:normal normal normal 12px/1.5 Ubuntu,Ubuntu, Helvetica, sans-serif,'\5B8B\4F53';margin:0;padding:0}a,abbr,acronym,address,applet,article,b,big,blockquote,button,canvas

Using calc() to transition width and height in IE

心已入冬 提交于 2019-12-01 15:11:58
I've come across an issue today where trying to use CSS transitions to change an object's dimensions with calc() aren't working in IE. Or, rather, they're working in the sense that the calculated values are being applied but the transition rules are being ignored. See an example here: http://jsfiddle.net/32Qr7/ .block { width: 350px; height: 100px; background-color: red; margin: 10px; padding-left: 10px; transition: all 1s ease-in-out; } .block:hover { width: calc(100% - 50px); height: calc(150px + 10%); } In this example, a div exists which changes its' width, height, and background-color

JavaFX imageview real coordinates translateX and translateY

僤鯓⒐⒋嵵緔 提交于 2019-12-01 14:53:54
And why the translateX and translateY is bad position on my scene ? I start on coordinate x = 100 y = 200 in real my real coordinate y = -24.8 ... why ? I need real coordinates when is my ImageView is ? primaryStage.setTitle("Title"); Group root = new Group(); Scene scene = new Scene(root, 800, 600, Color.WHITE); // border.prefHeightProperty().bind(scene.heightProperty()); //border.prefWidthProperty().bind(scene.widthProperty()); Image im = new Image("Images/universe.jpg", 800, 600, true, true); ImageView iv = new ImageView(im); Image iv1 = new Image("Images/Asteroid.png", 60, 50, false, false

现在SimpleMemory的CSS(by BNDong)

我的未来我决定 提交于 2019-12-01 12:29:15
#EntryTag{margin-top:20px;font-size:9pt;color:gray}.topicListFooter{text-align:right;margin-right:10px;margin-top:10px}#divRefreshComments{text-align:right;margin-right:10px;margin-bottom:5px;font-size:9pt}*{margin:0;padding:0}html{height:100%;max-height:100%;font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{background-color:#fff;font-size:12px;max-height:100%;font-family:"Merriweather","Open Sans","Microsoft Jhenghei","Microsoft Yahei",sans-serif;color:#3a4145;-moz-font-feature-settings:'kern' 1;-o-font-feature-settings:'kern' 1;overflow:hidden}body:before{content:'';display

可爱的博客园样式之自定义“评论区”样式

早过忘川 提交于 2019-12-01 11:45:39
# cute-cnblogs 评论区代码美化 说明 一些人可能比较喜欢个别区域的,这里是博客园评论区的样式代码。 (PS:基于博客园主题“SimpleMemor”进行的样式修改,勾选禁用默认样式了,可能主题不同,class啥的也不同,不同的只能自己耐心改一下啦~) OωO表情是插件喔, github ,就是图片类型的需要js进行处理,因为发表评论的引入使用不一样,具体可以自行对比下官网与我引入的js,也可直接拿我的js去用~。 css /*评论区*/ #commentform_title, .feedback_area_title {font: normal normal 16px/35px"Microsoft YaHei";margin: 10px 0 30px;border-bottom: 2px solid #ccc;background-image: none;padding: 0;border-bottom: 0;} #commentform_title:after, .feedback_area_title:after {content: '';display: block;width: 100%;text-align: center;position: relative;bottom: 16px;left: 110px;border-bottom: 1px

Change background colour as page scroll without jquery?

笑着哭i 提交于 2019-12-01 11:28:50
Im trying to get a transition working so that the bg colour fades into another colour depending on position of page/i.e. triggered by divs with same class. Found some js here ( http://codepen.io/Funsella/pen/yLfAG ) which works exactly how I want on desktop, but it breaks on iPad (no matter the browser). Would anybody know how to do this transition with CSS? I found but it's triggered by a hover.. For example.. http://jsfiddle.net/L9JXG/1/ .div1 { height:200px; width:600px; position:relative; background:red; } .div1:after { position:absolute; width:100%; height:100%; content:''; background:url

【WebApp】单页webapp应用开发总结【暂完】

Deadly 提交于 2019-12-01 10:31:58
(写在开头:优化篇大量都是传闻,大家自行挑拣中意的看。附个学习地址,当然,我还没看过,哈哈!尊重作者附地址:http://mobile.51cto.com/web-410291.htm) 性能体验优化: 1、是否需要小菊花让用户知道 “嘿,你在傻等中” ? 今年在西雅图的某个设计者大会,LukeWroblewski讲到他的手机应用Polar时,说到他的团队努力的改进了新版投票的加载速度,然后还人性化的加了等待效果展示(翻滚吧Loading),结果却得到了速度变慢的用户反馈。高程们很不理解,用户咋那么难伺候呢,然后又发了一个把等待效果给下掉的补丁,好吧,终于有人说so quickly! 有人说,明目张胆的用Loading展示告知客户“你在等待”的事实,简直就是作死。不过,我不这么认为。我不知道有哪个网站进去是不需要等待的,移植到手机上也一样。loading的过渡动画还是有存在的必要,只是,再以小菊花示人,难免缺乏手机上的互动感。这个就需要伟大的设计师和交互师们开动脑子想更好的替代了。( 反正我还是继续loading着。。 ) 2、为按键添加touch状态&去掉触摸高亮 :active 这个高端洋气的CSS伪类状态在WEB页面开发中已经很常用了。但可惜的是,iOS和Android都没有在手机端实现这个状态。不过我们总是有曲线救国的办法的不是么,找到替代的解决方案并不难

Circle-packing diagram - transition between two set of values

左心房为你撑大大i 提交于 2019-12-01 08:47:57
I have a diagram very similar to circle packing At some point, a user wants to see some different data. Obviously, a different diagram can be displayed immediately, but transition would be much better from perception and cognition point of view. NOTE: The hierarchical structure remains the same, there is no new or deleted nodes, just underlying values that determine circle size change. What would be the good way to implement such smooth transition between two circle pack graphs of the same structure but different values? (Of course, during transition, that lets say lasts 10 sec, there is no

Change background colour as page scroll without jquery?

让人想犯罪 __ 提交于 2019-12-01 07:52:44
问题 Im trying to get a transition working so that the bg colour fades into another colour depending on position of page/i.e. triggered by divs with same class. Found some js here (http://codepen.io/Funsella/pen/yLfAG) which works exactly how I want on desktop, but it breaks on iPad (no matter the browser). Would anybody know how to do this transition with CSS? I found but it's triggered by a hover.. For example.. http://jsfiddle.net/L9JXG/1/ .div1 { height:200px; width:600px; position:relative;

How do I add a transition delay between multiple individual transitioning polygons in D3?

萝らか妹 提交于 2019-12-01 07:47:19
问题 The original Code can be found at: http://bl.ocks.org/Guerino1/3a51eeb95d3a8345bc27370e8c9d5b77 I have numerous polygons that are transitioning onto an svg canvas (from left to right, at the bottom of the HTML page). The code I use to create an transition the chevrons leverages D3 Polygon: // Create Polygons for SDLC svgCanvas.selectAll("a") .data(dataSet) .enter().append("a") .attr("xlink:href", function(d) { return d.link; }) .append("svg:polygon") //svgCanvas.selectAll("polygon") //.data