by Rob Hope via One Page Love
"Mr Branding" is a blog based on RSS for everything related to website branding and website design, it collects its posts from many sites in order to facilitate the updating to the latest technology.
To suggest any source, please contact me: Taha.baba@consultant.com
Tuesday, October 11, 2016
SHRN°
by Rob Hope via One Page Love
AtoZ CSS Screencast: The CSS Opacity Property
The opacity
property specifies how opaque an element is.
It takes a value ranging from 0 to 1 where 0 is completely transparent and 1 is completely opaque.
In this practical episode we’ll look at how the opacity
property works, including some of it’s downsides - and then create a CSS only fading slideshow using opacity
and what we learned in "Episode 11: keyframe
animations".
opacity
[code language="css"]
a img {
opacity:1;
}
[/code]
I have a linked image here with opacity
set to 1. This is the default and makes the image completely opaque. Setting a value of 0 makes it completely transparent but does maintain its position in the document. Setting any value between 0 and 1 makes it semi-transparent.
When setting opacity
to anything other than 1, a new stacking context is created which places the semi-transparent element on a new layer. As such, the background on the element beneath is partially visible.
I like to use this effect to give some visual feedback to uses hovering over images that are links. opacity
is a property that can be animated, and by adding a transition to the image, the effect is a nice subtle fade.
[code language="css"]
a img {transition:0.3s;}
a:hover img {opacity:0.75;}
[/code]
Opacity and content
When applying opacity
to an element that contains other content, the child elements also appear semi-transparent, regardless of any opacity
value set on them.
If I wanted to create a box with a semi-transparent background, opacity
would make the box and all its contents semi-transparent. The best thing to use in this case would be a background colour set in rgba
which we looked at in "Episode 3: CSS Color Syntax".
Continue reading %AtoZ CSS Screencast: The CSS Opacity Property%
by Guy Routledge via SitePoint
STRV Brand Guidelines
by Rob Hope via One Page Love
5 Tips to Build More Loyalty With Your Twitter Fans
Do you want to build deeper relationships with your Twitter followers? Looking for easy ways to create loyal fans on Twitter? To reap the full benefits of Twitter, approach your engagement in a personable way. In this article, you’ll discover five ways to turn your Twitter followers into loyal fans. #1: Replace Automation With Honest [...]
This post 5 Tips to Build More Loyalty With Your Twitter Fans first appeared on .
- Your Guide to the Social Media Jungle
by Peter Gartland via
5 Steps to Generate More LinkedIn Sales Leads
Do you want more leads from LinkedIn? Wondering how others turn connections into leads? With the right approach, you can be the first person your connections think of when they need someone in your industry. In this article, you’ll discover how to turn LinkedIn connections into qualified leads. #1: Build Your Network Strategically When people first [...]
This post 5 Steps to Generate More LinkedIn Sales Leads first appeared on .
- Your Guide to the Social Media Jungle
by Jacob Baadsgaard via