blink

Strange diagonal lines in Chrome/Chromium (bug?)

痴心易碎 提交于 2019-11-28 19:12:57
When I use CSS filters, shadows, transformations, SVG (or similar), my Chrome/Chromium shows a strange diagonal lines: filter:drop-shadow(0px 0px 10px #dce810); transform:skew(-15deg); No error in Firefox (Windows) / Canary Chrome 58. Error on Chrome 56 and Chromium 58 (Windows). In this pen, ocurrs this error (at end, when switch on title): https://codepen.io/manz/pen/jyYKJo Does anyone know if it's a known bug or some problem that is solved by disabling any option? It's almost certainly this Chrome/Chromium rasterization bug, which appears to be specific to certain NVidia GPUs: Issue 691262

How do you make an image blink?

无人久伴 提交于 2019-11-28 11:12:52
I was wondering how to make an image blink in CSS, if it is possible. I want to have it blink where it is. I would also like to change the speed but mainly I want to make it blink. CSS animations to the rescue! @keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } } img { animation: blink 1s; animation-iteration-count: infinite; } http://jsfiddle.net/r6dje/ You can make it a sharp blink by adjusting the intervals: @keyframes blink { 0% { opacity: 1; } 49% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 0; } } http://jsfiddle.net/xtJF5/1/ use setInterval method of

Video blinks once on onCreate of previous fragment

浪尽此生 提交于 2019-11-28 09:31:15
问题 I have created an app for galaxy tab using fragments.I have a videoview on a fragment to paly video from external storage. Here is the code for that fragment - package com.example.hscroll.demo; import android.content.res.Configuration; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.MotionEvent; import android.view.View; import android.view.View.OnTouchListener; import android.view.ViewGroup; import android.widget

Strange diagonal lines in Chrome/Chromium (bug?)

自作多情 提交于 2019-11-27 12:05:56
问题 When I use CSS filters, shadows, transformations, SVG (or similar), my Chrome/Chromium shows a strange diagonal lines: filter:drop-shadow(0px 0px 10px #dce810); transform:skew(-15deg); No error in Firefox (Windows) / Canary Chrome 58. Error on Chrome 56 and Chromium 58 (Windows). In this pen, ocurrs this error (at end, when switch on title): https://codepen.io/manz/pen/jyYKJo Does anyone know if it's a known bug or some problem that is solved by disabling any option? 回答1: It's almost

How can I blink with jQuery?

你离开我真会死。 提交于 2019-11-27 07:16:12
问题 I would like to blink my menu text. I have this code, but it doesn't work with IE. (function($) { $.fn.blink = function(options) { var defaults = { delay:500 }; var options = $.extend(defaults, options); return this.each(function() { var obj = $(this); setInterval(function() { if($(obj).css("color") == "rgb(255, 0, 0)") { $(obj).css('color','#000000'); } else { $(obj).css('color','rgb(255, 0, 0)'); } }, options.delay); }); } }(jQuery)) $(document).ready(function(){$('.blink').blink()}) Can

How do you make an image blink?

只愿长相守 提交于 2019-11-27 06:07:39
问题 I was wondering how to make an image blink in CSS, if it is possible. I want to have it blink where it is. I would also like to change the speed but mainly I want to make it blink. 回答1: CSS animations to the rescue! @keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } } img { animation: blink 1s; animation-iteration-count: infinite; } http://jsfiddle.net/r6dje/ You can make it a sharp blink by adjusting the intervals: @keyframes blink { 0% { opacity: 1; } 49% {

Imitating a blink tag with CSS3 animations

一笑奈何 提交于 2019-11-26 12:04:37
I really want to make a piece of text blink the old-school style without using javascript or text-decoration. No transitions, only *blink*, *blink*, *blink*! EDIT : This is different from that question because I ask for blinking without continuous transitions, whereas OP of the other questions asks how to replace blinking with continuous transitions The original Netscape <blink> had an 80% duty cycle. This comes pretty close, although the real <blink> only affects text: .blink { animation: blink-animation 1s steps(5, start) infinite; -webkit-animation: blink-animation 1s steps(5, start)

Preventing scroll bars from being hidden for MacOS trackpad users in WebKit/Blink

倖福魔咒の 提交于 2019-11-26 09:54:18
WebKit/Blink's (Safari/Chrome) default behaviour on MacOS since 10.7 (Mac OS X Lion) is to hide scroll bars from trackpad users when they're not in use. This can be confusing ; the scroll bar is often the only visual cue that an element is scrollable. Example ( jsfiddle ) HTML <div class="frame"> Foo<br /> Bar<br /> Baz<br /> Help I'm trapped in an HTML factory! </div> CSS .frame { overflow-y: auto; border: 1px solid black; height: 3em; width: 10em; line-height: 1em; }​ WebKit (Chrome) Screenshot Presto (Opera) Screenshot How can I force a scroll bar to always be displayed on a scrollable

Imitating a blink tag with CSS3 animations

混江龙づ霸主 提交于 2019-11-26 02:48:14
问题 I really want to make a piece of text blink the old-school style without using javascript or text-decoration. No transitions, only *blink*, *blink*, *blink*! EDIT : This is different from that question because I ask for blinking without continuous transitions, whereas OP of the other questions asks how to replace blinking with continuous transitions 回答1: The original Netscape <blink> had an 80% duty cycle. This comes pretty close, although the real <blink> only affects text: .blink {

Preventing scroll bars from being hidden for MacOS trackpad users in WebKit/Blink

纵饮孤独 提交于 2019-11-26 02:05:23
问题 WebKit/Blink\'s (Safari/Chrome) default behaviour on MacOS since 10.7 (Mac OS X Lion) is to hide scroll bars from trackpad users when they\'re not in use. This can be confusing; the scroll bar is often the only visual cue that an element is scrollable. Example (jsfiddle) HTML <div class=\"frame\"> Foo<br /> Bar<br /> Baz<br /> Help I\'m trapped in an HTML factory! </div> CSS .frame { overflow-y: auto; border: 1px solid black; height: 3em; width: 10em; line-height: 1em; }​ WebKit (Chrome)