Openbox and cssopenbox for css Special Effects
Let's not talk much about it. First, let's move the mouse over it to produce an animation for opening the box.
The Code is as follows:
You can use ie to open http: // 123.207.136.94/openbox.html.
Sometimes, we need to add some special effects to images on the webpage, such as transparency, distortion, shadow, or flip. We generally think of using Photoshop and other graphic software for processing, in fact, we can also use some filters provided by CSS (stacked style table) for processing. This is a good thing for users who are not familiar with Photoshop.Let's start with a few filters without par
Single line up or down centerHtml:Css:. container{width:600px;height:300px;Text-align:center;line-height:300px;border:1px solid Green;}Fixed high width up or down centerHtml:Css:. container{border:1px solid Green;width:600px;height:300px;position:relative;}. content{Background:black;height:200px;width:200px;Position:absolute;left:0;bottom:0;right:0;top:0;Margin:auto;}Not fixed high width up or down center (1)Html:Css:. container{border:1px solid Green;width:600px;height:300px;line-height:300px;T
,img:focus{ filter:none;}3. Frosted Glass EffectThis effect is now often seen in the phone system drop-down menu, or the IPhone's Siri interface, which is a frosted glass effectYou can usually make the effect by adjusting the div background transparency, but this is not the glass effect, the real glass effect needs to be implemented with pseudo-elements, a pseudo-element is placed at the bottom of the element to be added to the background, and then the pseudo-element is obfuscated.Main>block
Text Diffuse reorganization Animation This special effect we can specify any text in the input box, click OK button, will be the original text exploded, the new text in the form of pixels together, looks very good.
Run Effect chart:
This is the input happy after the effect of the button, of course, you can easily lose text
Cool special effects, even Chinese support, look at the following figure:
For everyone to share the text scattered reorg
This article brings you the content is about how to use CSS to achieve the effect of gradient animation border (with code), there is a certain reference value, the need for friends can refer to, I hope to help you.
Effect Preview
Source code Download
Https://github.com/comehope/front-end-daily-challenges/tree/master/016-colorful-gradient-animated-border
Code interpretation
Defines the DOM, a container that contains some text:
Center display:
HTML,
1. Fixed layer effectFixed-layer effects are very common in Web pages, as follows:When you drag the scroll bar, the top layer of the page always appears at the top of the page, and the content layer moves up and down through the top layer, which is the fixed layer effect.2, about the CSS positionThe Position property has four values, respectively:
Absolute: absolute positioning. Positioned relative
CSS controls the different effects of different paragraphs, which classify the same HTML elements :
HTML page content:
TEST.CSS content:
/* Classification of the same HTML element * *
p.cls1{
Color:blue;
font-size:30px;
}
p.cls2{
color:red;
font-size:20px;
}
The effect of the following figure:
More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/web/
box model display * */ /* * Set or retrieve the arrangement of child elements of a telescopic box object * */ 2 /* * Number of lines displayed * */ Overflow:hidden;}button style removal in 9.ios system:. btn{-webkit-appearance:none;}11. English Letter Case// Capitalize first letter // ALL caps // All lowercase12.table Outer frame Color%; Margin-top:40px; Border-color: #eeeeee; Border:solid thin #eeeeee;}13. The picture is dimmed. Gray { -webkit-filter:grayscale (%); -moz-filter:gra
color to transparent????????????, so that the specified border is hidden (only one Direction to specify a separate border is not displayed, at least to specify two connected to the direction to display, so should not appear in the direction of the set to transparent). For example:But we only need one color, so we have to set the color of the other border to be transparent. It is worth noting that the IE6 bottom border color does not support the transparent value, always shown as black, so you n
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.