精华内容
下载资源
问答
  • 一个带有动画边框的输入框
  • 本文主要介绍了jQuery鼠标经过显示动画边框特效的实例代码。具有很好的参考价值。下面跟着小编一起来看下吧
  • css3实现动画边框菜单是一款基于css3 js实现的概念UI设计网站菜单特效。
  • 主要介绍了使用纯 CSS 创作一个渐变色动画边框,需要的朋友可以参考下
  • 鼠标经过显示动画边框js特效代码,经常用于企业网站或者教育网站,效果还是相当美观的,可以在网站中加上这样的特效,php中文网推荐下载!
  • animation动画边框

    2019-10-14 14:40:44
    边框环绕加探照灯
    
    
    	
    	
    	
    	边框环绕加探照灯
    	
    
    	
    展开全文
  • 动画边框菜单

    2020-09-29 01:17:41
    css下拉菜单边框View demo 查看演示Download Source 下载源The other day I saw a really nice concept of a menu on the UI8 site. CreativeDash implemented that gorgeous concept and I ...
    AnimatedBorderMenus

    The other day I saw a really nice concept of a menu on the UI8 site. CreativeDash implemented that gorgeous concept and I instantly had some ideas for more effects involving border transitions but also with the desktop in mind. So today I want to show you how to create something like that and provide some more inspirational examples.

    前几天,我在UI8网站上看到了一个非常不错的菜单概念。 CreativeDash实现了这个华丽的概念,我立刻想到了一些更多的效果,涉及边框过渡,但同时也考虑了桌面。 因此,今天我想向您展示如何创建类似的东西,并提供更多鼓舞人心的示例。

    In this tutorial we will be going through demo 2 where the menu icon is in the top left corner and the border is thickest on the left side.

    在本教程中,我们将演示2 ,菜单图标在左上角,边框在左侧最粗。

    Please note that we’ll be using transitions and animation on pseudo-elements which won’t work in some browsers (e.g. Safari and Mobile Safari).

    请注意,我们将在伪元素上使用过渡和动画,而在某些浏览器(例如Safari和Mobile Safari)中将无法使用它们。

    So, let’s get started!

    所以,让我们开始吧!

    标记 (The Markup)

    The HTML structure for our menu will consist of a nav element that will contain a trigger anchor and an unordered list with the menu items which will consist of icons:

    菜单HTML结构将由一个nav元素组成,该元素将包含一个触发锚点和一个包含图标的菜单项的无序列表:

    
    <nav id="bt-menu" class="bt-menu">
    	<a href="#" class="bt-menu-trigger"><span>Menu</span></a>
    	<ul>
    		<li><a href="#" class="bt-icon icon-zoom">Zoom</a></li>
    		<li><a href="#" class="bt-icon icon-refresh">Refresh</a></li>
    		<li><a href="#" class="bt-icon icon-lock">Lock</a></li>
    		<li><a href="#" class="bt-icon icon-speaker">Sound</a></li>
    		<li><a href="#" class="bt-icon icon-star">Favorite</a></li>
    	</ul>
    </nav>
    
    

    Let’s style this.

    让我们设置样式。

    AnimatedBorderMenu01

    CSS (The CSS)

    Note that the CSS will not contain any vendor prefixes, but you will find them in the files. Let’s use the border-box box-sizing:

    请注意,CSS将不包含任何供应商前缀,但是您可以在文件中找到它们。 让我们使用border-box box-sizing:

    
    *,
    *:after,
    *::before {
    	box-sizing: border-box;
    }
    
    

    And let’s set some styles for the body and the main container:

    让我们为主体和主容器设置一些样式:

    
    body  {
    	background: #04a466;
    }
    
    .container {
    	padding: 80px;
    }
    
    

    The padding will help providing some space around our content so that when the border appears, we guarantee that there is enough space around.

    填充将有助于在内容周围提供一些空间,以便在出现边框时,我们保证周围有足够的空间。

    The main menu element will have position fixed so that, no matter where we are in the page, the border is always around the viewport. We set an initial border style which we will transition to a bigger border. Setting the initial height to 0 will make sure that the menu does not cover anything initially. The “backward” or closing height transition will have a delay of 0.3s:

    主菜单元素的位置将固定,因此无论我们在页面中的什么位置,边框始终围绕视口。 我们设置了初始边框样式,然后将其过渡到更大的边框。 将初始高度设置为0将确保菜单最初不覆盖任何内容。 “向后”或关闭高度转换将延迟0.3秒:

    
    .bt-menu {
    	position: fixed;
    	top: 0;
    	left: 0;
    	width: 100%;
    	height: 0;
    	border-width: 0px;
    	border-style: solid;
    	border-color: #333;
    	background-color: rgba(0,0,0,0);
    	transition: border-width 0.3s, background-color 0.3s, height 0s 0.3s;
    }
    
    

    When we open the menu, we’ll set the height to 100% (but we won’t transition that property) and the border will animate to 90px on the left side and 30px on all the other sides. The background color will be semi-transparent using an RGBA value. This will server as out overlay color:

    当我们打开菜单时,我们将高度设置为100%(但不会过渡该属性),边框的动画将在左侧变为90px,在所有其他侧面均为30px。 使用RGBA值,背景色将是半透明的。 这将服务器作为叠加颜色:

    
    .bt-menu.bt-menu-open {
    	height: 100%;
    	border-width: 30px 30px 30px 90px;
    	background-color: rgba(0,0,0,0.3);
    	transition: border-width 0.3s, background-color 0.3s;
    }
    
    

    Now we have to use a little trick. We will add another element using JavaScript which will server as a dummy container covering the whole page except the border. This will allow us to distinguish where we are clicking in order to close the whole thing. We don’t want the menu to close when clicking on the border but only when clicking in the space between.

    现在我们必须使用一些技巧。 我们将使用JavaScript添加另一个元素,该元素将用作虚拟容器,覆盖整个页面(边框除外)。 这将使我们能够区分要关闭整个对象的单击位置。 我们不希望在单击边框时关闭菜单,而仅在单击它们之间的空格时才关闭。

    
    .bt-overlay {
    	position: absolute;
    	width: 100%;
    }
    
    

    When we open the menu, this element will have full height:

    当我们打开菜单时,此元素将具有完整的高度:

    
    .bt-menu-open .bt-overlay {
    	height: 100%;
    }
    
    

    Let’s style that little trigger element. We’ll give it a fixed position and we’ll show it in the top left corner of the page:

    让我们设置小触发元素的样式。 我们将其固定放置在页面的左上角:

    
    .bt-menu-trigger {
    	position: fixed;
    	top: 15px;
    	left: 20px;
    	display: block;
    	width: 50px;
    	height: 50px;
    	cursor: pointer;
    }
    
    

    The trigger anchor itself will serve as a container and the span will be the middle line of our hamburger menu icon. So we position it in the middle by setting the top to 50% and giving it a negative top margin of half of its height:

    触发锚本身将用作容器,跨度将成为汉堡菜单图标的中线。 因此,通过将顶部设置为50%并为其设置一半的负负上边距,将其定位在中间:

    
    .bt-menu-trigger span {
    	position: absolute;
    	top: 50%;
    	left: 0;
    	display: block;
    	width: 100%;
    	height: 4px;
    	margin-top: -2px;
    	background-color: #fff;
    	font-size: 0px;
    	user-select: none;
    	transition: background-color 0.3s;
    }
    
    

    When opening the menu, we will make a cross out of the icon. The other two lines will be created by pseudo-elements and when the menu is open, the middle line will disappear:

    打开菜单时,我们将在图标上打叉。 其他两行将由伪元素创建,并且当菜单打开时,中间行将消失:

    
    .bt-menu-open .bt-menu-trigger span {
    	background-color: transparent;
    }
    
    

    Now, let’s create the two other lines. The pseudo-elements will be positioned absolutely and their height is going to be the same like of their parent by setting it to 100%:

    现在,让我们创建另外两行。 伪元素将被绝对定位,并将其高度设置为100%,使其高度与父元素相同:

    
    .bt-menu-trigger span:before,
    .bt-menu-trigger span:after {
    	position: absolute;
    	left: 0;
    	width: 100%;
    	height: 100%;
    	background: #fff;
    	content: '';
    	transition: transform 0.3s;
    }
    
    

    For positioning them correctly, we’ll use translateY:

    为了正确定位它们,我们将使用translateY:

    
    .bt-menu-trigger span:before {
    	transform: translateY(-250%);
    }
    
    .bt-menu-trigger span:after {
    	transform: translateY(250%);
    }
    
    

    The cross will be formed when opening the menu by setting the translateY to 0 and rotating the pseudo-elements accordingly:

    通过将translateY设置为0并相应地旋转伪元素,在打开菜单时将形成十字形:

    
    .bt-menu-open .bt-menu-trigger span:before {
    	transform: translateY(0) rotate(45deg);
    }
    
    .bt-menu-open .bt-menu-trigger span:after {
    	transform: translateY(0) rotate(-45deg);
    }
    
    

    The unordered list with our icons will also have a fixed position and we’ll set it to the left side of the window:

    带有我们图标的无序列表也将具有固定的位置,并将其设置在窗口的左侧:

    
    .bt-menu ul {
    	position: fixed;
    	top: 75px;
    	left: 0;
    	margin: 0;
    	padding: 0;
    	width: 90px;
    	list-style: none;
    	backface-visibility: hidden;
    }
    
    

    Let’s set the list items and the anchors to display: block and give them full width:

    让我们将列表项和锚点设置为display: block并为其提供全宽:

    
    .bt-menu ul li,
    .bt-menu ul li a {
    	display: block;
    	width: 100%;
    	text-align: center;
    }
    
    

    Each list item will be hidden initially and the opacity will be 0. The “backward” transition of the visibility will be delayed until all the other transitions of the transform and the opacity are finished:

    每个列表项最初都会被隐藏,并且不透明度将为0。可见性的“向后”过渡将被延迟,直到变换和不透明度的所有其他过渡完成为止:

    
    .bt-menu ul li {
    	padding: 16px 0;
    	opacity: 0;
    	visibility: hidden;
    	transition: transform 0.3s, opacity 0.2s, visibility 0s 0.3s;
    }
    
    

    Now we will transform each of the list items differently so that they are all placed in the middle and to the left until they are hidden (-100% on the Y axis):

    现在,我们将对每个列表项进行不同的转换,以便将它们全部放置在中间和左侧,直到它们被隐藏(Y轴上为-100%):

    
    .bt-menu ul li:first-child { 
    	transform: translate3d(-100%,200%,0);
    }
    
    .bt-menu ul li:nth-child(2) { 
    	transform: translate3d(-100%,100%,0);
    }
    
    .bt-menu ul li:nth-child(3) { 
    	transform: translate3d(-100%,0,0);
    }
    
    .bt-menu ul li:nth-child(4) { 
    	transform: translate3d(-100%,-100%,0);
    }
    
    .bt-menu ul li:nth-child(5) { 
    	transform: translate3d(-100%,-200%,0);
    }
    
    

    When opening the menu, the list items will become visible (instantly, because we are not setting a transition for it) and they will fade in. They will also move to their original positions by setting the transform3d to 0 for all axes:

    打开菜单时,列表项将变为可见(立即,因为我们没有为其设置过渡),并且它们将逐渐淡入。通过将所有轴的transform3d设置为0,它们还将移动到其原始位置:

    
    .bt-menu.bt-menu-open ul li {
    	visibility: visible;
    	opacity: 1;
    	transition: transform 0.3s, opacity 0.3s;
    	transform: translate3d(0,0,0);
    }
    
    

    Now, let’s style the anchors. We will use an icon font and include the font reference and the icon classes in another CSS which will be provided by a service like Fontastic or the IcoMoon app.

    现在,让我们设计锚点的样式。 我们将使用图标字体,并将字体引用和图标类包含在另一个CSS中,该CSS将由FontasticIcoMoon应用程序之类的服务提供。

    By setting the font size of the anchor to 0 and make it transparent, we’ll hide the text:

    通过将锚点的字体大小设置为0并使其透明,我们将隐藏文本:

    
    .bt-menu ul li a {
    	display: block;
    	outline: none;
    	color: transparent;
    	text-decoration: none;
    	font-size: 0px;
    }
    
    

    We’ll reset the font size for the pseudo-element which contains the icon. We’ll need to use a pixel-based value because the main element has a font-size of 0 so ems won’t work here:

    我们将重置包含图标的伪元素的字体大小。 我们需要使用基于像素的值,因为主元素的字体大小为0,因此ems在这里不起作用:

    
    .bt-menu ul li a:before {
    	color: #04a466;
    	font-size: 48px;
    	transition: color 0.2s;
    }
    
    

    On hover we’ll make them white:

    悬停时,我们将其变白:

    
    .bt-menu ul li a:hover:before,
    .bt-menu ul li a:focus:before  {
    	color: #fff;
    }
    
    

    And last, but not least, we want the icons to be smaller on mobile screens:

    最后但并非最不重要的一点是,我们希望图标在移动屏幕上变小:

    
    @media screen and (max-height: 31.125em) {
    	.bt-menu ul li a:before {
    		font-size: 32px;
    	}
    }
    
    

    And that’s all the style. Now, let’s move on to the JavaScript.

    这就是所有样式。 现在,让我们继续使用JavaScript。

    JavaScript (The JavaScript)

    Our script is pretty straightforward; when we click on the trigger anchor, we toggle the class bt-menu-open and bt-menu-close on the nav element. (Adding the closing class is only needed if you are using animation for the trigger icon effect, just like we do in demo 1. This will allow us to only play the backward animation, when we close the menu).

    我们的脚本非常简单; 单击触发器锚点时,将在nav元素上切换bt-menu-openbt-menu-close类(仅当您将动画用于触发图标效果时才需要添加关闭类,就像在演示1中一样。这将允许我们仅在关闭菜单时播放向后动画)。

    When we click on the overlay, we will close the menu. We’ll also add some touch support:

    当我们点击叠加层时,我们将关闭菜单。 我们还将添加一些触摸支持:

    
    (function() {
    
     	// http://stackoverflow.com/a/11381730/989439
    	function mobilecheck() {
    		var check = false;
    		(function(a){if(/(android|ipad|playbook|silk|bbd+|meego).+mobile|avantgo|bada/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)/|plucker|pocket|psp|series(4|6)0|symbian|treo|up.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(a.substr(0,4)))check = true})(navigator.userAgent||navigator.vendor||window.opera);
    		return check;
    	}
    
    	function init() {
    
    		var menu = document.getElementById( 'bt-menu' ),
    			trigger = menu.querySelector( 'a.bt-menu-trigger' ),
    			// event type (if mobile, use touch events)
    			eventtype = mobilecheck() ? 'touchstart' : 'click',
    			resetMenu = function() {
    				classie.remove( menu, 'bt-menu-open' );
    				classie.add( menu, 'bt-menu-close' );
    			},
    			closeClickFn = function( ev ) {
    				resetMenu();
    				overlay.removeEventListener( eventtype, closeClickFn );
    			};
    
    		var overlay = document.createElement('div');
    		overlay.className = 'bt-overlay';
    		menu.appendChild( overlay );
    
    		trigger.addEventListener( eventtype, function( ev ) {
    			ev.stopPropagation();
    			ev.preventDefault();
    			
    			if( classie.has( menu, 'bt-menu-open' ) ) {
    				resetMenu();
    			}
    			else {
    				classie.remove( menu, 'bt-menu-close' );
    				classie.add( menu, 'bt-menu-open' );
    				overlay.addEventListener( eventtype, closeClickFn );
    			}
    		});
    
    	}
    
    	init();
    
    })();
    
    

    And that’s it! I hope you enjoyed this tutorial and find it useful! Make sure to check out the other demos. The last one is a concept for a fullscreen video player.

    就是这样! 我希望您喜欢本教程并发现它有用! 确保查看其他演示。 最后一个是全屏视频播放器的概念。

    翻译自: https://tympanus.net/codrops/2013/09/30/animated-border-menus/

    展开全文
  • 效果体验:http://keleyi.com/keleyi/phtml/css3/14.htm以下是代码: 1 <!DOCTYPE html> 2 <... 3 <head>...CSS3鼠标悬停显示动画边框-柯乐义</title><base target="_blank

    效果体验:http://keleyi.com/keleyi/phtml/css3/14.htm

    以下是代码:

     1 <!DOCTYPE html>
     2 <html xmlns="http://www.w3.org/1999/xhtml">
     3 <head>
     4 <meta charset="utf-8" />
     5 <title>CSS3鼠标悬停显示动画边框-柯乐义</title><base target="_blank" />
     6 <link href="http://keleyi.com/keleyi/phtml/css3/14/keleyi.css" type="text/css" rel="stylesheet" />
     7 </head>
     8 <body>
     9 <div class="main">
    10 <ul>
    11 <li class="keleyi">
    12 <div class="keleyi-hover">
    13 </div>
    14 <img src="http://keleyi.com/keleyi/phtml/css3/14/keleyi1.jpg" width="188" height="250" alt="柯乐义" />
    15 </li>
    16 <li class="keleyi">
    17 <div class="keleyi-hover">
    18 </div>
    19 <img src="http://keleyi.com/keleyi/phtml/css3/14/keleyi2.jpg" width="188" height="250" alt="柯乐义" />
    20 </li>
    21 </ul>
    22 请使用<a href="http://keleyi.com/a/bjac/g039tue3.htm">支持HTML5的浏览器</a>查看本页 <a href="http://keleyi.com">首页</a> <a href="http://keleyi.com/a/bjad/r9kfvhvt.htm">原文</a> <a href="http://keleyi.com/keleyi/phtml/">特效库</a>
    23 </div>
    24 </body>
    25 </html>

    web前端汇总:http://www.cnblogs.com/jihua/p/webfront.html

    展开全文
  • LED显示屏Center8.0.1.50(7种语言、炫彩动画 边框)程序应用与开发
  • SVG动画边框

    2019-11-03 19:32:13
    <title>svg边框动画特效 ;top:200px;left:200px; border:1px solid red;">  style.css @charset "utf-8"; #workarea{position:absolute;width:100%;height:100%;...

     

    <svg version="1.1" xmlns="http://www.w3.org/2000/svg" 
    xmlns:xlink="http://www.w3.org/1999/xlink" 
    xml:space="preserve" class="circle-load-rect-svg" width="300" height="200" 
    viewbox="0 0 600 400">
        <polyline points="5 5, 575 5, 575 200, 5 200" class="g-rect-path"/>
        <polyline points="5 5, 575 5, 575 200, 5 200" class="g-rect-fill"/>
    </svg>

    version: 表示 <svg> 的版本,目前只有 1.0,1.1 两种

    xmlns:http://www.w3.org/2000/svg 固定值

    xmlns:xlink:http://www.w3.org/1999/xlink 固定值

    xml:space:preserve 固定值,上述三个值固定,表示命名空间,当数据单独存在svg文件内时,这3个值不能省略

    class:就是我们熟悉的 class

    width | height: 定义 svg 画布的大小

    viewbox: 定义了画布上可以显示的区域,当 viewBox 的大小和 svg 不同时,viewBox 在屏幕上的显示会缩放至 svg 同等大小(暂时可以不用理解)

    stroke-dasharray用来设置虚线,用“,”分隔的数字表示“实线,空”,stroke-dasharray=”5, 5” 。如果数字是奇数个的话,则自动补充为偶数。如 stroke-dasharray=”5,3,2” 实际为 “5,3,2,5,3,2”.

    stroke-dashoffset用来表示偏移。

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>svg边框动画特效</title>
    <link rel="stylesheet" href="style.css" />
    </head>
    <body>
    
    <div id="workarea">
    
    		<div class="svg-wrapper" style="position:absolute;top:200px;left:200px; border:1px solid red;">
    			<svg height="193" width="540" >
    				<rect id="shape" height="193" width="540" />
    				
    			</svg>
    		</div>
    
    </div>
    
    
    </body>
    </html>

     style.css

    @charset "utf-8";
    
    
    
    #workarea{position:absolute;width:100%;height:100%;background-color:#1e1a3e;font-family:Raleway}
    
    #shape{
    	stroke-width:6px;
    	fill:transparent;
    	stroke:#009FFD;
    	stroke-dasharray:83 650;
    	stroke-dashoffset:0;
      -webkit-animation: draw 2s linear infinite;
      animation: draw 2s linear infinite;
    }
    
    @-webkit-keyframes draw {
      to {
         stroke-dashoffset:733;
      }
     
    }
    
    @keyframes draw {
      to {
         stroke-dashoffset:733;
      }
    }

     

    展开全文
  • 16.纯 CSS 创作一个渐变色动画边框 原文地址:https://segmentfault.com/a/1190000014785816 感想:边框是伪元素::after来的; HTML代码: <div class="box"> y...
  • css3鼠标悬停后,图片边框出现颜色动画效果,不支持低版本浏览器 使用方法: 只需要将css样式以及js代码引入到页面head中,给需要加效果的图片增加指定class即可
  • The website of Carl Philipe Brenner has some very creative and subtle animations and today we want to explore how to recreate a border animation effect using CSS transitions on SVG lines....
  • <title>CSS3鼠标悬停显示动画边框-柯乐义</title><base target="_blank" />  href="http://keleyi.com/keleyi/phtml/css3/14/keleyi.css" type="text/css" rel="stylesheet" />  class="main">  class=...
  • <style> div{ width: 420px; height: 200px; background: url('./img/timg.jpg') no-repeat; } polyline{ stroke: #3366cc; /* 线段颜色 */ stroke-width: 4; /* 线段宽度 ...
  • React+antd 的button点击动画边框css清除

    千次阅读 2019-04-25 10:31:16
    button[ant-click-animating-without-extra-node]:after { border: 0 none; opacity: 0; animation:none 0 ease 0 1 normal; }
  • 为背板设置动画效果: .box::after { background-size: 300%, 300%; animation: animate_bg 5s ease infinite alternate; } @keyframes animate_bg { 0% { background-position: 0%, 50%; } 50% { ...
  •   ...当页面引入flash动画时,使用object标签加载动画在IE7浏览器下会出现如下图的边框问题,改用embed标签加载就不会出现该问题; 转载于:https://www.cnblogs.com/jronny/p/6654556.html
  • 为背板设置动画效果: .box::after { background-size: 300%, 300%; animation: animate_bg 5s ease infinite alternate; } @keyframes animate_bg { 0% { background-position: 0%, 50%; } 50% { ...
  • 为背板设置动画效果: .box::after { background-size: 300%, 300%; animation: animate_bg 5s ease infinite alternate; } @keyframes animate_bg { 0% { background-position: 0%, 50%; } 50% { ...
  • CSS3边框动画

    2019-09-13 23:36:42
    CSS3边框动画

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 1,778
精华内容 711
关键字:

动画边框