CSS Class Contains

Sometime you have classes like ‘myclass-1″ “myclass-2” and this may often be the case if you are using a WordPress plugin that spews out multiple divs with class names that are incrementally different. That can be a real pain, but thanklsfully you can still target them with a single line of CSS using the ‘CSS3 [attribute*=value] Selector’. Here’s the css:- In …

Full Screen Responsive Background Image with CSS

Here is our CSS for a full-screen responsive background image that uses the css cover property. This means that the background image is full-screen, but also that it dynamically adjusts/crops so that there is no image distortion:- Basic CSS3 Implementation Here we are using the Background Shorthand Property and you could also add a background colour in this case. When …