Archive

Archive for April, 2016

Link Audit as a SEO Measure

April 29th, 2016 No comments
Link Audit as a SEO Measure

Other than content, the link structure of a website is one of the most important ranking factors for Google. For the search engine’s crawlers, all links to a domain are of interest, but also the internal page navigation as well as the choice of links to foreign domains (outbound links). A frequent link audit should be on your to-do list.

However, the Google algorithm pays particular attention to what sources the backlinks are from (inbound links). The explanation for that is very simple: the more high-grade the referring page is to Google, the more reliable is the quality of its recommendations. The same applies vice versa: the lower the quality of the link structure’s sources, the more the linked website’s reputation and ranking in the search engine decreases.

Link Audit – The Optimization of the Link Structure

Those that put a lot of effort into optimizing the internal link structure, and consequently equipped promotional outbounds links with appropriate tags, maybe because of a punishment from Google, should also take a look at the inbound links afterwards: For a general “house cleaning”, it makes sense to reduce poor links in regular time periods, to become more attractive for Google due to this link audit. For that, it makes sense to create a list of referring links using an SEO analysis tool or directly using Google Webmaster Tools.

Often, the majority of links is part of a wild mixture of results from link exchange actions, and manual entries into web catalogs, which, for the most part, originate from the page’s launching. On top of that come the organic links that were placed over time by operators of other domains, as the website’s content has convinced them, or because they have published critic comments on the content, and linked your site as the source. These links certainly are, with certain limitations, the most valuable backlinks in the eyes of the search engine.

However, those links that were placed by the operators of plenty of spam pages are “as annoying as flies”. Their only purpose is to make as many webmasters as possible access the page via their analysis tools, to manipulate the access numbers this way. The home of these websites is not rarely located in Russia or the Far East, the content, however, is mostly relevant but not valuable.

Another type of links that almost all webmasters would deny are the paid references. For Google, they are the biggest enemy, unless they are explicitly labeled as advertisements, and equipped with a nofollow tag in the HTML code.

Link Audit: How Can You Tell Which Links Should be Removed?

There are mixed opinions on which links are good for the ranking and which aren’t. As Google still keeps its exact algorithm a secret and frequently updates it, webmasters depend on speculations. However, some factors are entirely unclear:

  1. Purchased links that carry money keywords, but are not marked as advertisements have a high risk of being detected by Google and contribute to a massive downgrade of the website.
  2. If there are many entries in rather unsubstantial web catalogs or pages with unfitting topics in the list of inbound links, only those that increase the visitor count should remain. By experience, almost nothing remains with these considerations in mind.
  3. Those that work with friendly webmasters a lot should analyze if a construction of up to twenty websites could also be recognized as a network by Google. This is the case when references towards each other are plentiful, and maybe even make up the majority of the link structure. In the most cases, such nepotism causes an enormous downgrade of the website’s ranking.
  4. When in doubt, a manual check can be helpful: Does the linking page leave a competent impression?
  5. Spam links of websites from overseas, however, can be neglected, as Google has already recognized and has most likely generally devalued them.

Subject: Asking for the Removal of Link Placements on Your Website

Dear Sir or Madam [Last name of the webmaster]

due to recent measures to restructure our link strategy, we want to politely ask you to remove the link to our web presence [URL] on your following page.

(Link Source/Link Text/Link Destination)

www.website-of-the-webmaster.com link text www.your-website.com

Please do not regard our request as a contempt of your website, as it is solely based on technological considerations. We want to thank you in advance for the resultant efforts. If you have any questions and / or ideas, we are happy to be at your disposal.

Sincerely

[Name and signature]

After waiting for a couple of days – without a reply – you can dig deeper using a reminding message that, in the best case, contains the previous email. It is not a rare thing that website owners only answer the second message, as it reminds them of your request.

Often, the webmasters are happy about a short thank you, which will also give you, the applicant, a good feeling, as the removal of links is barely ever connected to an expense allowance.

For links that can not be removed this way, the Google Search Console allows you to upload a Disavow list, which contains the respective URLs. The Google Disavow Tool is a part of the Google Search Console and is used to devalue inbound links. The tool was introduced with the Google Penguin updates, which was introduced to fight links of poor quality.

In conclusion, you can consider the link audit a very effective measure to optimize a web shop or a website, even if the effort might seem to be very high. The most important things are the conscientiously, and in the best case, manually executed valuations of the inbound links, as well as the respectful and polite treatment of the respective webmasters.

(dpe)

Categories: Others Tags:

Do Video Backgrounds Hurt or Help Your Website’s UX?

April 28th, 2016 No comments
websiteux111

Many top-ranked websites and brands unrolled video backgrounds in 2015, and as a modern website design trend, it might be one of the more popular options during that year. But while video backgrounds might look cool, there might be some very significant UX reasons to keep them off websites. So before you follow the herd and add background videos to some of your website’s pages, consider the following pros and cons.

websiteux111

Con: Video Slows Down a Website

Visitors are incredibly likely to click away from slow pages, and even just a few milliseconds of added load time can increase your website’s bounce rate. Sure, there are a few tricks which can help you mitigate how slow adding background videos make your website, but at the end of the day, it will likely still be slower.

Con: Video Can Be Distracting

If there’s a lot of text to read on a website to explain what it’s about, having a large video can be distracting, and take up so much space above the fold that readers need to scroll to see what your website is about, or what it’s offering. As more and more website visitors are coming from mobile devices, this can be another hassle which causes them to click away. To help a video be less distracting, ensure that it’s just a short loop, 30 seconds or less, and remove the appearance of the video controls!

Con: Poor Contrast With Callout Text

Especially if you’re using rich video, callout or headline text can become more difficult to read when it’s placed over video content. If you do decide to use a video, ensure that it’s one on which your callout text contrasts well and really “pops”. An easy way to accomplish this is to put a color overlay atop the video.

Con: Irritating Audio

Especially if someone comes to your website on a mobile device, surprise auto-starting audio can be embarrassing! Always make certain that a video’s audio function is muted when you embed it. And if a video absolutely needs sound, make certain that audio must be engaged by the visitor.

websiteux1111

Pro: Communicates Complex Topics

Videos can be used to communicate complex topics well, or to demonstrate a great experience. A great use of using video to accomplish this is to use a short video to show how one might use the service your website is advertising, or to show panning shots of what your website is about. This is particularly great for experiential marketing. Most website visitors far prefer watching an informative video to reading informative text.

Pro: SEO Value

Especially if the video is produced in-house and cross-posted on different video sharing sites, videos can have a significant SEO value. That value is magnified the more views that video has, so promoting your video on a page that many visitors can see can have an impressive positive effect. You can compound that by posting the video transcript using services like Speechpad and Verbalink.

Pro: Cutting Edge Design

Many visitors believe that video backgrounds are cutting-edge (no matter how easy they are to technically implement) so it can translate to a positive brand experience. Trust in a website and brand is one of the number one reasons which visitors do (or don’t) engage, and videos are a powerful way to establish your brand as forward-thinking and tech-savvy.

websiteux11

Always Test Your Implementation

Whether you’re thinking of adding new opt-in functions, background video, or a new style of landing page, at the end of the day you should always split-test the change before fully implementing it across your website. If you think that using background videos might do well by your website, design specific alternate pages to test and promote, and see how your own visitors respond.

Read More at Do Video Backgrounds Hurt or Help Your Website’s UX?

Categories: Designing, Others Tags:

Adobe Illustrator Tips for Beginners Based on a Newbie Experience

April 28th, 2016 No comments
00_Panel

Learning a new tool or software could be quite an overwhelming experience for a beginner. It is not like old days were there were few known softwares with limited functionalities, and a newbie could easily get a step-by-step tutorial to master them.

With hundreds of apps and a wide range of client requirements, it is sometimes quite perplexing for a beginner to figure out where to start, what to learn and what they are allowed to skip.

In the case of Adobe Illustrator, there are so many things to learn and master, but I have some tips and tricks rolled up my sleeves that could take you through a quick road (a short-cut course) to understanding Adobe Illustrator.

Master the Pen ToolILLUSTRATORS_PEN_TOOL

The Pen Tool could be a little bit daunting if you are a newbie. But as they say, a pen is mightier than the sword, Adobe Illustrator proves it right! It will take you a little while to master it, but once you have, you can do anything in the Illustrator. You can come up with some pretty neat vector graphics without using this tool, but I would recommend pushing yourself and learning it. It would be worth it, I promise!

Go for Clipping Masks

Clipping masks have multiple uses, and in many instances they are a life saver. They save time and limit a group of shapes, paths, patterns, or whatever you need to limit, to a specific area.

Learn Pathfinder Panel00_Panel

If you are required to create shapes that are made out of other shapes, this panel has a lot of options that enable you to create the shape you need. It is highly useful in flat designs and basic shapes.

Once you become a pro at it, you could take one step more and try learning the Shape Builder Tool.

Make Customized Brushes

Adobe Illustrator helps you make your own brushes and use them like you want to.

Go for Layers Panel ZenLayers

Being organized is a big plus when it comes to managing work, and Layers Panel Zen lets you have a fuss-free design. You can name your layers and remove the colors and resources that are no longer used in the file. It may not directly benefit the user (unless you are delivering the vector file as an end-result), it is highly recommended to organize your vector files and have a cleaner look at layers.

Explore Swatch Libraries

Download Material Design Swatches For Photoshop and Illustrator

The Swatch Libraries come with all versions of Adobe Illustrator. It makes you fall in love with colors – you can select skin tone palettes to cool textures. Just go to the Swatches Panel, into the drill-down menu. From there select Open Swatch Library and voila!

Learn Pattern Options:add_pattern_options

Pattern options are fun, even if you don’t use them too often, it is good to know about them. There are a lot of cool things you can do with a pattern option. How about creating your own textures? There is a high probability that once you get the hang of it, you won’t feel like leaving it. Learning them will surely bump up your Adobe Illustrator skills.

Save your Vector:

As obvious as this may sound, saving your vector for the web is something that is often lightly taken. It is a simple two-step procedure that many of newbies often mess up with.

  1. The artboard needs to expose all the artwork you want to save. Use the Artboard Tool (Shift – O) to achieve this.
  2. Go to File and then Save for Web. Select the type of file (jpg, png, gif, etc) and done!

Don’t lose hope

This may sound like a generic tip (and it really is), but for the newbies who want to learn Adobe Illustrator, this is something that needs to be constantly kept in mind. Getting into vector art is something that’s pretty cool and creative, but it requires determination and patience to learn any new skill.

There will be times when you would question your decision to get into Adobe Illustrator, and then there would be moments when you feel like banging your head on the keyboard. But then, there will also be those moments of glory when you finally achieve learning a panel or saving a basic vector, and it would give you nothing but motivation to move on.

Welcome help

This last tip is something that makes you learn and evolve. It is okay to ask for help when things don’t go your way. Check out online communities, blogs and social media to learn more about Adobe Illustrator. Vector art has grown in the past many years and is still growing.

With these above mentioned 10 tips for beginners using Adobe Illustrator, you can definitely learn a new tool without getting frustrated with the amount of random information you see online. A new skill is always good, and this one will definitely help you in the long run.

Olympia Powell is the freelance writer, artist and web promoter. Started working as a freelance writer cause of huge love for the art of writing and literature. Works as a website promoter and a writer at Essay-writer.club Having some free time paints paintings, works with ceramics and just tries to make some art. Twitter ID: @olympia_powell

Read More at Adobe Illustrator Tips for Beginners Based on a Newbie Experience

Categories: Designing, Others Tags:

Working with Images in Stylesheets with PostCSS

April 28th, 2016 No comments

The following is a guest post by Aleks Hudochenkov. Aleks does a great job here of showcasing what PostCSS is good at and the role it has grown into in the front end stack. That is: doing little useful jobs within CSS. You’re about to see variety of PostCSS plugins at work that are all related to working with images. By the end, I bet you’ll be able to imagine how PostCSS can be useful for other niches within working with CSS.

We all work with images in our CSS. Routine stuff. We may not even realize it, but there many be a lot of manual work involved this with that could be made a lot easier. I’m going to be showing you a variety of PostCSS plugins that are specfically designed to help with working with images in CSS.

Every plugin described in this article works with every syntax PostCSS can parse — CSS, SCSS, Less and syntaxes created by PostCSS plugins. I will not describe how to use PostCSS itself, because there is already an excellent article by Drew Minns.

Let’s start with plugins which cover most of the use cases when dealing with images in CSS.

Image Helpers

The postcss-assets plugin is an almost essential plugin for dealing with images. It has lots of functionality.

Inlining images

Sometimes making images into data URL’s inside our stylesheet is useful. One less HTTP request!

/* input.css */
div {
  background: inline("images/logos/postcss.png");
}

/* output.css */
div {
  background: url("data:image/png;base64,iVBORw0KGgoAAAA...ggg==");
}

Calculating dimensions

Sometimes you need to size elements or size the background itself based on the dimensions of the image you are using. This plugin can make those measurements and output them as needed.

/* input.css */
body {
  width: width("images/foobar.png");
  height: height("images/foobar.png");
  background-size: size("images/foobar.png");
}

/* output.css */
body {
  width: 320px;
  height: 240px;
  background-size: 320px 240px;
}

If we dealing with high-density images, we can correct the output by adding the second parameter:

/* input.css */
body {
  width: width("images/foobar.png", 2);
  height: height("images/foobar.png", 2);
  background-size: size("images/foobar.png", 2);
}

/* output.css */
body {
  width: 160px;
  height: 120px;
  background-size: 160px 120px;
}

URL resolution

The plugin can help with file paths. We do not need to know the full path to the image. Only the filename is enough.

For example, we have this folder structure:

images/
 logos/
  postcss.png
input.css

We set up the options for the plugin like this. The ** means search in all folders and files, recursively.

postcss([
  require('postcss-assets')({
   loadPaths: ['**']
  })
])
/* input.css */
div {
  background: resolve("postcss.png");
  background: resolve("logos/postcss.png");
}

/* output.css */
div {
  background: url("/images/logos/postcss.png");
  background: url("/images/logos/postcss.png");
}

Cachebusting

This plugin can cachebust images.

postcss([
  require('postcss-assets')({
    cachebuster: true
  })
])
/* input.css */
div {
  background: url("images/logos/postcss.png");
}

/* output.css */
div {
  background: url("images/logos/postcss.png?153bd5d59c8");
}

Inline and modify SVGs

Almost every graphic I deal with lately is SVG. It’s a great format that handles any pixel density display. Even better, the syntax for it is text, meaning we can edit them without heavy tools like graphic editing programs.

There is a plugin for inlining SVGs: postcss-inline-svg. You might ask why we need it when postcss-assets, which we already covered, can do it. The reason is postcss-inline-svg has a killer feature: it can modify SVG.

Say we have a star icon that we use in ten different places with different colors around our site. There are many ways we can do this. We could use an inline SVG system with and and all that. Or, we can use background property in CSS!

There are two ways to use an image in CSS. 1) a url(/path/to/image.jpg) value with a file path or 2) a url(data:...) value with a data URL. The later is sometimes known as “inlining” images, which accomplishes one of the major advantages of image sprites: combining HTTP requests. With postcss-inline-svg, we can do this (making our CSS file our sprite), and still adjust the colors independently:

/* input.css */
.star--red {
  background-image: svg-load("img/star.svg", fill=#f00);
}
.star--green {
  background-image: svg-load("img/star.svg", fill=#0f0, stroke=#abc);
}

/* output.css */
.star--red {
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23f00'%3E...%3C/svg%3E");
}
.star--green {
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%230f0' stroke='%23abc'%3E...%3C/svg%3E");
}

Will the output CSS file be enormous, you ask? Yes and no. The output CSS will be bigger because of code duplication, but it doesn’t matter because of Gzip! To demonstrate, I’ve made a test. I’ve created a CSS file with 100 different selectors and add an inline icon in every ruleset with a random color for the fill. Like so:

.wibcsidpuaeqgbxvcjqq { 
  background: svg-load("images/star.svg", fill: #8c0); 
}

Then I created a duplicate of this file, and removed all those inline backgrounds. Here are the file size results:

Original size Gzipped
With 100 images 48500 bytes 2560 bytes
With 1 image 3158 bytes 1817 bytes

Difference: 2560 – 1817 = 743 bytes

Not a big difference!

The only con of this approach: there is no way to animate changes of image. For example, if color should change on hover with a transition, there is no convenient way to do this because transition will not be applied to background-image.

These plugins compliment each other

Real world example: we need a button that is an icon. The image inside the button needs a specific image size and also needs to change color on hover. There is only one source SVG file.

Markup:

<button type="button" class="delete">Delete</button>

Without any help, we might do something like this:

.delete {
  box-sizing: content-box;
  padding: 15px;

  /* Values based on this particular image */
  width: 26px;
  height: 32px;

  border: 1px solid #ef5350;
  border-radius: 3px;
  background: #fff url("images/trash.svg") 50% 50% no-repeat;
  text-indent: -9999px;
}
.delete:hover {
  border-color: #c62828;

  /* Manually duplicate file and change things */
  background-image: url("images/trash-hover.svg");
}

Automating things with postcss-assets, we could do this:

postcss([
  require('postcss-inline-svg')(),
  require('postcss-assets')()
]);
.delete {
  box-sizing: content-box;
  padding: 15px;
  width: width("images/trash.svg");
  height: height("images/trash.svg");
  border: 1px solid #ef5350;
  border-radius: 3px;
  background: #fff svg-load("images/trash.svg", fill=#ef5350) 50% 50% no-repeat;
  text-indent: -9999px;
}
.delete:hover {
  border-color: #c62828;
  background-image: svg-load("images/trash.svg", fill=#c62828);
}

Output:

.delete {
  box-sizing: content-box;
  padding: 15px;
  width: 26px;
  height: 32px;
  border: 1px solid #ef5350;
  border-radius: 3px;
  background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='32' viewBox='12 8 26 32' fill='%23ef5350'%3E%3Cpath d='M20 18h2v16h-2z'/%3E%3Cpath d='M24 18h2v16h-2z'/%3E%3Cpath d='M28 18h2v16h-2z'/%3E%3Cpath d='M12 12h26v2H12z'/%3E%3Cpath d='M30 12h-2v-1c0-.6-.4-1-1-1h-4c-.6 0-1 .4-1 1v1h-2v-1c0-1.7 1.3-3 3-3h4c1.7 0 3 1.3 3 3v1z'/%3E%3Cpath d='M31 40H19c-1.6 0-3-1.3-3.2-2.9l-1.8-24 2-.2 1.8 24c0 .6.6 1.1 1.2 1.1h12c.6 0 1.1-.5 1.2-1.1l1.8-24 2 .2-1.8 24C34 38.7 32.6 40 31 40z'/%3E%3C/svg%3E") 50% 50% no-repeat;
  text-indent: -9999px;
}
.delete:hover {
  border-color: #c62828;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='32' viewBox='12 8 26 32' fill='%23c62828'%3E%3Cpath d='M20 18h2v16h-2z'/%3E%3Cpath d='M24 18h2v16h-2z'/%3E%3Cpath d='M28 18h2v16h-2z'/%3E%3Cpath d='M12 12h26v2H12z'/%3E%3Cpath d='M30 12h-2v-1c0-.6-.4-1-1-1h-4c-.6 0-1 .4-1 1v1h-2v-1c0-1.7 1.3-3 3-3h4c1.7 0 3 1.3 3 3v1z'/%3E%3Cpath d='M31 40H19c-1.6 0-3-1.3-3.2-2.9l-1.8-24 2-.2 1.8 24c0 .6.6 1.1 1.2 1.1h12c.6 0 1.1-.5 1.2-1.1l1.8-24 2 .2-1.8 24C34 38.7 32.6 40 31 40z'/%3E%3C/svg%3E");
}

If the image changes, you don’t need to do anything! postcss-assets will update sizes. Need to change a color? They are right here in CSS. You can even use variables if you are using another plugin or preprocessor that offers those.

Example of output:

See the Pen NNvGJP by Aleks Hudochenkov (@hudochenkov) on CodePen.

Sprites

There are still some reasons you might want to use the kind of image sprite where all the images are combined together into one larger image. For one, it is known that mobile phones decode inline images slightly slower than regular images.

There are lots of tools for creating image sprites. For example: grunt-spritesmith. These are powerful, aren’t particularly easy to set up or convenient. In grunt-spritesmith, for example, you need to understand how its templates engine works.

The postcss-sprites plugin (based on spritesmith) is much more convenient. This is how it works:

/* input.css */
.comment {
  background-image: url("images/sprite/ico-comment.png");
}
.bubble {
  background-image: url("images/sprite/ico-bubble.png");
}

/* output.css */
.comment {
  background-image: url("images/sprite.png");
  background-position: 0 0;
}
.bubble {
  background-image: url("images/sprite.png");
  background-position: 0 -50px;
}

It finds every image in CSS (filtering is possible), creates a sprite, and outputs the correct background-position to get there.

Handling sprites for high-density screens

Despite postcss-sprites support for retina images, it doesn’t quite give you production ready code. For example, it doesn’t give you media queries to target high-density screens to actually use those images. This problem can be solved with another PostCSS plugin. This is a beauty of PostCSS ecosystem — there are many plugins which do only one job, and you can combine them for solving more complicated problems.

There is a postcss-at2x plugin which adds media queries targeting high-density screens. Let’s combine these plugins to generate a sprite for both normal and high-density screens.

postcss([
  require('postcss-at2x')(),
  require('postcss-sprites').default({
    retina: true
  })
]);
/* input.css */
.circle {
  background-image: url("images/circle.png") at-2x;
}
.square {
  background-image: url("images/square.png") at-2x;
}

/* output.css */
.circle {
  background-image: url("sprite.png");
  background-position: 0px 0px;
}
.square {
  background-image: url("sprite.png");
  background-position: -25px 0px;
}
@media (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {
  .circle {
    background-image: url("sprite.@2x.png");
    background-position: 0px 0px;
    background-size: 50px 25px;
  }
}
@media (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {
  .square {
    background-image: url("sprite.@2x.png");
    background-position: -25px 0px;
    background-size: 50px 25px;
  }
}

Nailed it.

Create images on the fly

Sometimes we need really simple images (like geometric shapes), but still find ourselves opening a graphic editor, creating the image, exporting it, putting it in the right place, optimizing it, and using it in CSS. What if we can could create simple images right in a CSS? I bet you can guess: we can!

postcss-write-svg allows you to create simple SVG images right in CSS. Just describe SVG elements and it will be inlined as background-image.

/* input.css */
@svg square {
  @rect {
    fill: var(--color, black);
    width: 100%;
    height: 100%;
  }
  @polygon {
    fill: green;
    points: 50,100 0,0 0,100;
  }
}

#example {
  background: white svg(square param(--color #00b1ff));
}

/* output.css */
#example {
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Crect fill='%2300b1ff' width='100%25' height='100%25'/%3E%3Cpolygon fill='green' points='50%2C100 0%2C0 0%2C100'/%3E%3C/svg%3E");
}

There are other plugins to make circles and triangles with only CSS properties. Triangles. You can do triangles yourself in CSS, but it’s not exactly straightforward and gets harder when you want to do different types of triangles. postcss-triangle allows to you to easily create isosceles, right isosceles and equilateral triangles.

/* input.css */
.isosceles-triangle {
  triangle: pointing-right;
  width: 150px;
  height: 115px;
  background-color: red;
}
.right-isosceles-triangle {
  triangle: right-iso pointing-down;
  width: 250px;
  background-color: red;
}
.equilateral-triangle {
  triangle: equilateral pointing-up;
  height: 100px;
  background-color: red;
}

/* output.css */
.isosceles-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 57.5px 0 57.5px 150px;
  border-left-color: red;
}
.right-isosceles-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 125px 125px 0;
  border-top-color: red;
}
.equilateral-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 0 57.73503px 100px;
  border-bottom-color: red;
}

Circles are a bit easier, but postcss-circle may save you a few lines of code and add more readability.

/* input.css */
.circle {
  circle: 100px red;
}

/* output.css */
.circle {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  background-color: red;
}

Cachebusting

Say you need to update an image linked to in a stylesheet. We might run into a problem if we’re using far out expires headers, and the user’s browser is hanging onto that image in cache. The solution is to force that user’s browser to download the new version (cachebust). There are two ways to do this: change a filename or change the URL. Changing the filename is a lot to ask, but changing URL is easy thanks to URL parameters.

This is how changing URL works with postcss-urlrev:

/* input.css */
.foo {
  background: url("images/test.png") 0 0 no-repeat;
}

/* output.css */
.foo {
  background: url("images/test.png?v=e19ac7dee6") 0 0 no-repeat;
}

This task can be done also with postcss-cachebuster and postcss-assets.

Utilities

PostCSS plugins can help with optimizing stylesheets. For example postcss-svgo can optimize inlined SVG with SVGO, the best SVG optimization tool.

If you still need to support browsers which doesn’t support SVG, but you like to use SVG, postcss-svg-fallback can help you. This plugin generates PNG fallbacks for SVG in you CSS (both inlined and linked via url()) and adds additional rules in CSS for old browsers.

Inlining images might bloat output CSS, but there is a solution: postcss-data-packer can extract embedded data URLs into a separate file. Now you can load this file asynchronously to decrease page load time.

Conclusion

Before PostCSS, we did a lot of tedious manual work: copy and pasting things, duplicating things, or manual calculations. Now we can use some PostCSS plugins, to make our computers do things for us. It speeds up our work and makes us happier people.


Working with Images in Stylesheets with PostCSS is a post from CSS-Tricks

Categories: Designing, Others Tags:

CodePen Embedded Pen Upgrades

April 28th, 2016 No comments

They now:

  1. Have an all-new design that allows for a split-view (code on the left, preview on the right) when the responsive design allows.
  2. Can be editable.

Along with all the same great features they have always had like themes (total design control! change all your embeds at once!) and optional click-to-play (for increased performance).

Direct Link to ArticlePermalink


CodePen Embedded Pen Upgrades is a post from CSS-Tricks

Categories: Designing, Others Tags:

You Should Probably Blog in Markdown

April 28th, 2016 No comments

I attempt to make the case that creating content in Markdown is a good plan for you and your team, now and especially in the future.

Direct Link to ArticlePermalink


You Should Probably Blog in Markdown is a post from CSS-Tricks

Categories: Designing, Others Tags:

From Zero To Appium: A How-To Guide For Configuring Appium With Android

April 28th, 2016 No comments

If you are a web developer who cares about quality, most probably you have heard of Selenium and the advantages of using such a tool for test automation. Now, if you are a mobile developer, you might know how much harder it is to test your app due to the existence of different platforms, different OS versions and even variety of devices.

From Zero To Appium: A How-To Guide For Configuring Appium With Android

Imagine how great it would be to write your tests only once and run them on different platforms. If so, then maybe today is your lucky day, because I want to tell you about Appium, a tool inspired by the Selenium WebDriver that allows you to write tests against multiple platforms using the same API.

The post From Zero To Appium: A How-To Guide For Configuring Appium With Android appeared first on Smashing Magazine.

Categories: Others Tags:

wpDiscuz: WordPress Comments Modernized

April 28th, 2016 No comments
wpDiscuz: WordPress Comments Modernized

The WordPress comment feature is boring and, honestly, way outdated. Of course, you can comment on a blog properly using the native comment feature, but that’s not fun. The feature simply isn’t in step with the time. It would be great if you could edit your comments afterward. Or if you could integrate videos and photos. All of this is not possible when it comes to WordPress comments. Today, I will introduce you to the excellent, and free plugin wpDiscuz that adds plenty of functions to the native comments, and looks great while doing that.

wpDiscuz: Commenting Has Started Being Fun Again

Leaving a comment on a WordPress website should at least be a little fun. If it looks good on top of that, it were pretty much over and done with already. For the sake of data protection, it’s important that the comments are not located on other servers, like it is the case for comment systems like Disqus. Nobody wants to have his readers’ comments saved in a foreign country.

The free WordPress plugin wpDiscuz replaces WordPress’ native function and offers many additional features as well as a neat look.

  • Developer: gVectors Team
  • Work in Progress: yes
  • Latest Version from: 02.21.2016
  • Cost: free on WordPress.org
  • License: GNU GENERAL PUBLIC LICENSE
  • Known Compatibility Issues: Unknown
  • Developer Homepage: wpDiscuz
  • Download on WordPress.org

wpDiscuz – Interactive and Feature-rich

wpDiscuz is an interactive comment system and completely replaces the WordPress comment function. The comments are saved in your own WordPress installation. The plugin simply adds plenty of new features without changing the core. Commenting is done via Ajax in real time. That means that the comments instantly appear on the website, without a page reload. The settings you made for comments in the WordPress admin area remain the same. So if you chose to moderate all comments, this would still be in effect after you changed to wpDiscuz.

The wpDiscuz plugin is fully responsive and automatically adapts to any screen resolution without issues. The settings are easy to understand, and can be adjusted without much effort.

Cache Plugin Compatible, Fast Loading and Optimized for CDNs

wpDiscuz is fully cache-compatible and also prepared for CDNs (Content Delivery Networks). In addition, this plugin is also optimized for loading speed. It doesn’t slow down your website. Thus, you can also use this plugin on heavily frequented sites. It offers Disqus’ features without any of the disadvantages Disqus comes with.

The Plugin’s Functions

  • Comment function on articles, pages, and custom post types
  • Fully responsive. Looks good on any screen
  • Simple color adjustment to suit the theme
  • Real-time comments via Ajax
  • Optimized loading speed
  • Comment voting system – thumbs up or down
  • The comments can be edited after posting them
  • Live updates with notification buttons similar to a smartphone
  • Comment list sorting (oldest, newest, best rated)
  • Anonymous comments can be posted
  • Social media login preparation for Google+, Facebook und Twitter
  • After a certain number of comments, a “load more comments” button can appear. This helps performance.
  • If you really want to, you can also activate lazy load for comments
  • Implemented image links are converted into images
  • Detailed comments are labeled with a “read more” button to declutter the comments area
  • Double-opt-in function for the subscription of comments. This way, the European data protection laws are obeyed.
  • Works with the standard anti-spam plugins, however, a Captcha to further fight spam can be added without another plugin.
  • wpDiscuz can be extended at any time, thanks to paid add-ons

Paid Add-ons for wpDiscuz

The Settings Interface

The settings are displayed in a clean, logical way. You can work with them very easily. One thing to criticize would be the lack of complete translations into other languages, but you can fix that. Simply create a custom translation for the plugin.

wpDiscuz: WordPress Comments Modernized

The settings you have already made under “comments” still apply. The plugin options only extend the native settings. Under the aspect “styling”, you can adjust the wpDiscuz color scheme to meet your website’s colors, so that it doesn’t look like a foreign body. Preparations for the most important social login plugins are made, and can be installed from the menu item “social login”.

wpDiscuz: WordPress Comments Modernized

The Comments – How They Look Like When Using wpDiscuz

The comment function and the comment list look appealing and modern. The colors of the actual comment form can be altered; you don’t have to use the gray standard.

wpDiscuz: WordPress Comments ModernizedwpDiscuz: WordPress Comments Modernized

Related Links:

Conclusion and Recommendation

After a short test, I can only recommend this plugin. Even though it is entirely free, it provides a lot of functions that the native WordPress comments don’t have. Additionally, the comment list is very appealing, which adds a unique attribute to your blog. If you want to give your users a treat, buy the “media uploader extension” for an extra $25, as the visitor can then add photos, photo galleries, and videos to the comments. This way, you get almost the same functions that more expensive versions of alternative comment systems provide.

(dpe)

Categories: Others Tags:

5 things nobody tells you about freelancing

April 28th, 2016 No comments

Starting out on your own as a freelancer is exciting. You’re making your talents available to the world, and are ready to make your mark.

While this career path can be very rewarding (monetarily and otherwise), it’s not all kittens and unicorns. There are going to be challenges and days when you wonder why you ever wanted to do this. It’s not necessarily the care-free lifestyle you may have been lead to believe.

As someone who has been freelancing for almost two decades, I’ve experienced a whole lot of ups and downs. Here’s a look at some of the joys and pains of freelancing. You know, the stuff nobody tells you about!

1) You are not your own boss

When you’re just starting out as a freelancer, you might think that you’ll have complete control over your life. If you’re working from home, you can crank up the music to eleven. You can wear whatever you want. Need a bathroom break? You don’t have to sneak past the boss, because you are the boss. Want to go play golf? Sure, nobody will notice.

But alas, you are not as much of a boss as you think you are. It turns out that, if you want to have a successful business, then your clients will dictate your workday.

I can tell you from experience that just running out to Starbucks for a half hour means that you’ll probably have a several emails and maybe a voicemail to respond to when you get back. So, just imagine the catching up you’ll need to do after a day on the golf course! Sometimes, you just feel compelled to stay at the office to avoid getting behind.

So, while you’ll have some control over your lifestyle, you won’t have as much as you might expect. That’s not even a bad thing, necessarily. It just means that you have to remember that you’re working for your clients, and there are responsibilities that come along with that.

2) You need a sixth sense for people

Let me preface this by saying that, each day, I get to work with some truly wonderful people. There are some clients who you’ll get to know on a personal level and even consider them close friends. It’s one of the great benefits of being in business.

That said, you’ll occasionally run into a person who isn’t quite the friendship type. They may not even be cordial (trust me, I have anecdotal evidence). As we know, there are all types of personalities out there in the world. Just because we’re in business doesn’t mean everyone is always prim and proper.

While I could delve into personality types and personal horror stories, this might not be the proper forum. Instead, I’ll offer you some advice:

If, after a meeting/phone call/email exchange with someone, you get a sense that you’re not necessarily thrilled with the prospect of working with them, then you might be better off walking away. While it may hurt the old bank account to turn down a project, you may find that it’s more expensive to work with someone who is volatile.

If you’re not sure about a person, do some research on them and their business. You may find that reviews from customers or other businesses can be a huge help.

3) You’ll see your kids grow up

If you don’t have children just yet, then this one may not be on your radar. In that case, just replace the word “children” with “pets” or “house plants”.

Working from home, you may just find that you’ll get to spend some extra time with your children. Personally, I get to spend a few extra hours per day with my daughter. I readily admit that it’s not always easy to balance work with parental responsibilities. There are days when it can be very hectic.

But it is absolutely one of the best parts of freelancing. On the good days, you’ll be reminded of why you are working so hard. On the difficult days, you’ll at least realize that there is way more to life than just work. Overall, it’s very rewarding and good for the soul (cue the sappy music).

4) You’ll need help

Inevitably, there will be a project or business task that will require you to seek some professional help. This may include bringing in another freelancer to help with writing code, or an accountant to help manage your finances. Even if you are an expert in all facets of your business, you still may not have time to handle it all on your own.

If you have a friend (near or distant) whom you can rely upon for help, that’s wonderful. If not, then you may have to do some networking (dreadful, I know). Joining a local meetup or business association can be very helpful, though. You might just meet some people who can provide you with that extra layer of support.

5) You’ll be just fine

As we’ve learned, there are some aspects of freelancing that can be a bit intimidating. There is, for one, a lot of responsibility to both your clients and yourself. But most things that are worth doing aren’t easy.

If you’re talented and dedicated to your craft, then you’re going to pick up on all the intricacies of running your own business over time. I can honestly say that I still don’t know everything and probably never will. But each experience can be a valuable learning tool. Your goal is to take what you’ve learned and improve both yourself and your business.

LAST DAY: Exclusive Mega Bundle – 2100+ DesignElements – $29

Source

Categories: Designing, Others Tags:

Freebie: Hotel And Spa Icon Set (55 Icons PNG, SVG)

April 28th, 2016 No comments

Our daily routine can be quite challenging at times. The more roadblocks we experience in fulfilling the demands of our workplace, the more we look forward to a seamless holiday experience to break out from our everyday tasks. This wonderful hotel and spa icon set can help you to design a visually delightful holiday experience for the customers of your tourism clients.

Freebie: Hotel & Spa Icons (55 Icons PNG, SVG)

Designed by the team behind IconCrafts, this icon set consists of 55 carefully crafted vector icons. All icons are available as 48px, 64px and 128px PNG (+ @2x versions + sprites), as well as SVG files. The icons come in five styles different styles.

The post Freebie: Hotel And Spa Icon Set (55 Icons PNG, SVG) appeared first on Smashing Magazine.

Categories: Others Tags: