SVG Properties and CSS

There are many Scalable Vector Graphics (SVG), but only certain attributes can be applied as CSS to SVG. Presentation attributes are used to style SVG elements and can be used as CSS properties. Some of these attributes are SVG-only while others are already shared in CSS, such as font-size or opacity.

For example, to change the color of a <circle> element to red, use the fill property in CSS. The fill attribute is a presentation attribute, therefore it can be used as a CSS property:

circle {
  fill: red;

See the Pen
by Geoff Graham (@geoffgraham)
on CodePen.

So, with that, let’s take a deep and thorough dive into all of the SVG elements that are available to us as well as the CSS properties for them. We’ll also look at various styling approaches, including general presentational styles and animations.

SVG Elements by Category

The presentation attributes that can be used as CSS properties can be found below. For reference, supported elements will be classified by category. This does not include deprecated elements.

Element Type Elements
Container elements <a>
Filter primitive elements <feBlend>
Gradient elements <linearGradient>
Graphics elements <circle>
Shape elements <circle>
Text content elements <text>
Properties shared between CSS and SVG

Font properties

Presentation attribute Supported elements
font Text content elements
font-family Text content elements
font-size Text content elements
font-size-adjust Text content elements
font-stretch Text content elements
font-style Text content elements
font-variant Text content elements
font-weight Text content elements

Text properties

Presentation attribute Supported elements
direction <text>
letter-spacing Text content elements
text-decoration Text content elements
unicode-bidi Text content elements
word-spacing Text content elements
writing-mode <text>

Masking properties

Presentation attribute Supported elements
overflow <foreignObject>

Interactivity properties

Presentation attribute Supported elements
cursor Container elements
Graphics elements

50+ Best App Landing Page Templates 2019

Whether your app landing page is encouraging people to sign up, register, join, or subscribe, it’s a key thing to get right. A carefully designed mobile app landing page can make-or-break your conversion rates, and it’s worth taking the time to get right!

Landing pages can hold a huge amount of value, and if you’re looking to create a specific layout, we have just the collection to help you. We’ve tracked down over thirty-five of the best-looking app landing page templates for your next project. Every one of these templates is easy to work with and customize for your own mobile app.

Sooper – App & Software Landing Page Template

Sooper - App & Software Landing Page Template

Sooper is a multipurpose landing page template you can use to design landing page websites for both mobile apps and web apps. The template comes in 4 different homepage layouts you can easily customize to make a professional landing page. The templates are also available in light and dark colors themes.

Jironis – One Page HTML App Landing Template

Jironis - One Page HTML App Landing Template

Jironis landing page template comes with a highly minimalist design layout that takes advantage of white space to effectively showcase your app features. The template is available in 2 different homepage designs with 3 inner page layouts. It also supports Owl Carousel for adding image sliders.

Binmp – App and Software Landing HTML Template

Binmp - App and Software Landing HTML Template

This creative landing page template can be used to create a mobile app, SaaS, and startup landing page websites. It includes 3 unique homepage designs that feature 9 different inner page layouts for showcasing your app and company in detail. Built with Bootstrap, the design is fully responsive as well.

Opins – Creative App Landing Page HTML Template

Opins - Creative App Landing Page HTML Template

Opins is the perfect landing page template for making websites for creating mobile apps and software. The template comes in 2 different designs and 2 unique inner page layouts. The design is also filled with CSS3 animations for improving interactions and features Owl Carousel integration as well.

Nova – Premium App

What’s New For Designers, May 2019

There are plenty of cool new tools and resources available for designers this month, and you’ll be especially happy if you are looking to find photos with ease, increase productivity or even create better documentation.

If we’ve missed something that you think should have been on the list, let us know in the comments. And if you know of a new app or resource that should be featured next month, tweet it to @carriecousins to be considered!

Creative Commons Search Engine

Looking for photos that you can use anywhere just got easier. Creative Commons fully launched its search engine, which can help you find photos from a database of more than 300 million images from 19 collections with easy to understand attribution rules. Creative Commons is the standard for open-source and with attribution sharing of assets. The nonprofit organization enables sharing and reuse of assets through tools and standardized licensing for creative works.


Milanote, a note taking app now has an app that integrates with the desktop tool. The app is important, and different, from other tools because of what happens when you log in on your desktop computer. Organize content into visual boards designed to feel like a wall in a creative studio. All of your notes, images, links, tasks and files can be laid out in a shareable visual workspace. It’s fast, flexible and fun to use—think Trello meets Pinterest.


FlowCV is an online resume builder that can help you create, format and design a resume with ease. You can design it online and download a PDF for free. The biggest bonus might be prompts and resume advice packed right in to the tool.

CSS Grid: Style Guide

CSS Grid: Style Guide is a beautiful example of how to create documentation. You’ll want to fork Olivia Ng’s pen.


This collection of effects allows you to click-to-copy CSS. The collection is designed with a focus on fluidity, simplicity and ease of use with minimal markup. Every effect is open source and ready to use.…

40+ iPhone PSD Mockups (Free + Premium) 2019

An iPhone mockup graphic is the perfect way to demonstrate your app, website, or user interface. We’ve collected dozens of the best iPhone mockup PSDs and vectors, in all shapes and sizes, for your next project.

A well-designed mockup can make your app or website interface stand out from the crowd, and it’s the perfect way to present your design to a client. Our iPhone mockup picks vary between photograph-based PSDs, or vectors that can scale to any size. Some are free, some cost a few dollars, but all of them are a great way to showcase your app.

We’ve also collected a mix of iPhone mockups for different versions of the phone — from the iPhone 7, to the iPhone XS, covering every type of device.

How to Customize Your iPhone Mockup

Before we dive into our list of iPhone mockups, it’s worth offering a quick reminder on how to work with these graphics, and how to customize a mockup. We’ve written a great guide on how to customize an iPhone or iPad mockup which will walk you through the process step-by-step!

Our Favourite iPhone Mockups

Let’s kick things off with our two top picks. These are our favorite premium and free items, which we think stand out from the rest!

Top Premium Pick

Minimal Flat Design Smartphones Mockup

This is an all-in-one mockup template that will come in handy when you’re showcasing your app screens or designs across multiple device types. It includes mockups of iPhone X, Samsung S9, Xiaomi 2, One Plus, and Google Pixel, all in the same place.

The size of the graphic is huge – 6000 × 6000px, making it suitable for a wide range of uses. Plus, the PSD file features vector elements making the designs easily scalable to any size as well.

Why This Is a Top Pick

This one stands out from lots of the others in this roundup, as it features a range of phones and devices. It’s a great mockup for the latest iPhone, but also for various other

100+ MacBook Mockup PSD Templates for 2019

Whether you’re looking for a MacBook mockup or a MacBook Pro mockup, we have you covered with this extensive collection. We’re featuring a mix of MacBook mockups, realistic illustrations, and flat/stylised versions of these MacBook notebooks for all types of use case.

Totaling over a hundred different MacBook mockups in all shapes and sizes, these are great for dropping in your own work, applications, wallpapers or examples to give them a unique look-and-feel.

Some are free, some cost a few dollars, but each of them is unique and interesting.

MacBook Pro Mockup PSD Pack

This bundle of MacBook Pro mockups includes 10 different mockup templates featuring different angles of the new MacBook Pro with the touch bar. The mockups are also available in easily editable PSD files in 4K resolution.

Flying MacBook Editable Mockup

Flying MacBook Editable Mockup

Another stylish MacBook mockup template featuring a flying angle design. The mockup is fully editable and comes with separated layers and smart objects. It’s ideal for using with website headers and portfolios.

MacBook Laptop Web App Mockup

Another creative and real-photo MacBook template that can be used to design a beautiful header or a hero scene. It’s available in 6 high-resolution PSDs featuring different angles and views of the device.

Macbook PRO Mockup Front & Top Views

Macbook PRO Mockup Front & Top views

An elegant MacBook Pro mockup template that comes with 2 different scenes featuring the device in both front and top view angles. The mockup comes in PSD file format and it can be easily customized to your preference.

MacBook Pro Laptop Screen Mockups

MacBook Pro Laptop Screen Mockup

This is a bundle of MacBook Pro mockup template that includes 12 different views and angles of the device to let you showcase your designs in all types of designs. The mockups are available in 3800 x 2800 resolution.

Minimal White MacBook Mockup

Minimal White MacBook Mockup

A minimalist MacBook mockup you can use in your website designs and portfolio showcase. It includes 5 mockups in 4000 x 2667 resolution with various angles.

New Concept MacBook Pro Mockup

This stylish MacBook Pro mockup comes to you in 4K resolution. It’s …

Popular Design News of the Week: May 6, 2019 – May 12, 2019

Every week users submit a lot of interesting stuff on our sister site Webdesigner News, highlighting great content from around the web that can be of interest to web designers. 

The best way to keep track of all the great stories and news being posted is simply to check out the Webdesigner News site, however, in case you missed some here’s a quick and useful compilation of the most popular designer news that we curated from the past week.

Note that this is only a very small selection of the links that were posted, so don’t miss out and subscribe to our newsletter and follow the site daily for all the news.

Disney’s Hollywood Studio has a New Logo – And We’re Wholly Uninspired


CSS Scan 2.0 — Instantly Check or Copy Computed CSS of any Element on the Internet


An Ultimate Guide to Form Design


Html Colors


A Styleguide for the Galactic Empire


Norwegian Passports Design


Little Details in UX Design: Developing a Design System


Thanos: Super-Villain and Terrible Designer


Ecommerce Cart Design Best Practices


Debugging CSS Grid


Site Design: Closer Cards


A Short Guide for Non-designers to not Suck at Design


Liquid Death is 2019’s Stupidest Branding


The Vandalisation of UX


Consider Margin


Here’s the Coolest Stuff Announced at Google I/O 2019


Figma Plus


Create a Responsive Grid Layout with no Media Queries, Using CSS Grid


A Beginner’s Guide to User Journey Mapping


Vertical Rhythm on the Web


Zero to 60 in Six Months: Designer Eva Cremers on Learning 3D Animation


Color Palettes


Why Agile Doesn’t Work


Typography in Design Systems


FOUND COLOR · Schemes for Web and UI


Want more? No problem! Keep track of top design news from around the web with Webdesigner News.

Add Realistic Chalk and Sketch Lettering Effects with Sketch’it – only $5!


Deleted Data: How To Recover From Windows

Oh, no! You can’t find a file. You’ve looked in all the folders already and you still can’t find it. Did you delete it?

Even if you didn’t mean to, there are times when you accidentally delete data. Deleting data is not just a matter of right clicking on the word delete. As a matter of fact, human errors only rank second when it comes to deleted data.

In a study by StorageCraft with 41 IT professional, 29% agreed that the main cause of data loss is human errors. Many other studies also found that human errors are the second most common reason for data loss across the globe.


You could end up deleting data even if you didn’t mean to. That’s a fact. Aside from human errors, there are other things to consider.

These errors include accidental deletion, formatting, force shutdown, improper drive or device use, and more. However, data loss may also occur due to following reasons:

  • Hardware Failure
  • Software corruption
  • Malware attacks
  • Power surge and outage
  • Bad sectors/blocks on the drive, Overheating
  • Outdated or corrupt device drivers
  • Theft, System file corruption
  • Natural Disasters.


That could scare a lot of people but truth be told, deleted data is no big deal. This is especially true on Windows. Explosion author, Nick Guli, stresses the same point as well.

Before we begin, I want to highlight the fact that the recovery of deleted data from a Windows PC isn’t a difficult task if you act promptly and appropriately. With that said, there’s no guarantee that all deleted files can be recovered. Some files may get corrupt if you continue to use your Windows PC or the storage media after data loss—whether deliberately or inadvertently—as it overwrites the deleted files.


Although there is no guarantee that all data can be recovered, some, if not, most data can be recovered as long as you act on it right away. You have to be open to the fact that some data could get corrupted. …

Deploying a Client-Side Rendered create-react-app to Microsoft Azure

Deploying a React app to Microsoft Azure is simple. Except that… it isn’t. The devil is in the details. If you’re looking to deploy a create-react-app — or a similar style front-end JavaScript framework that requires pushState-based routing — to Microsoft Azure, I believe this article will serve you well. We’re going to try to avoid the headaches of client and server side routing reconciliation.

First, a quick story.

Back in 2016, when Donovan Brown, a Senior DevOps Program Manager at Microsoft, had given a “but it works on my machine speech” at Microsoft Connect that year, I was still in my preliminary stages as a web developer. His talk was about micro-services and containers.

[…] Gone are the days when your manager comes running into your office and she is frantic and she has found a bug. And no matter how hard I try, I can’t reproduce it and it works perfectly on my machine. She says: fine Donovan, then we are going to ship your machine because that is the only place where it works. But I like my machine, so I’m not going to let her ship it…

I had a similar sort of challenge, but it had to do with routing. I was working on a website with a React front end and ASP.NET Core back end, hosted as two separate projects that were deployed to Microsoft Azure. This meant we could deploy both apps separately and enjoy the benefits that comes with separation of concern. We also know who to git blame if and when something goes wrong. But it had downsides as well, as front-end vs. back-end routing reconciliation was one of those downsides.

One day I pushed some new code to our staging servers. I received a message shortly after telling me the website was failing on page refresh. It was throwing a 404 error. At first, I didn’t think it was my responsibility to fix the error. It had to be some server configuration issue. Turns out I was both right …

Weekly Platform News: Feature Policy, Signed Exchanges, iOS browsers

👋 Hey folks! This is the first edition of a new weekly update we’ll be posting that covers timely news at the intersection of development standards and the tools that make them available on the web. We often talk about the pace of change in our industry. It’s fast and touches everything from the HTML, CSS and JavaScript we write to the landscape of browsers that renders them. Please help us welcome Šime Vidas, who will be keeping us all on the up and up with curated updates from his own blog of regular development updates,

Feature Policy in Chrome

Andrew Betts: Websites can use the HTTP Feature-Policy response header to prevent third parties from secretly using powerful features such as geolocation, and to disable certain bad practices (e.g. document.write, parser-blocking JavaScript, un-optimized images).

This allows good practices to be more easily rewarded. … Search results could be badged with some approving “fast” logomark or (more controversially perhaps) get a higher result ranking if they disallow themselves certain policy-controlled behaviors.

Feature Policy is an emerging technology. See for more information about individual policies and their level of support in browsers.

Signed exchanges on Google Search

The mobile version of Google Search includes AMP results on search results pages. When the user taps on an AMP result, the AMP page loads from Google’s domain ( and is displayed in the AMP Viewer.

Google Search now supports an alternative: If a website signs its AMP pages, and the visitor uses Chrome for Android, then tapping on an AMP result instead loads the signed version of the AMP page from Google’s servers, but to the user it appears as if they have navigated to the website normally.

The technology that enables this is called Signed HTTP Exchanges (SXG). See the announcement on Google Webmaster Central Blog for more details. The specification describes the following use case:

In order to speed up loading but still maintain control over its content, an HTML page in a