Frontend Blog


Solar System Animation (GSAP 3)

How to create Solar System Animation with HTML CSS GSAP3
in Front-end | May 22, 2020

Imagine that we are George Lucas and create a piece of space. Lol 🙂 To do this, we found a suitable image in the SVG format and edited it a little. So, let’s begin…. 1. HTML We use the HTML Pug (Jade) preprocessor because it is cool and useful, so there will be no pure html […]

Preloader and first screen animation (GSAP3)

How to create preloader with animation
in Front-end | May 4, 2020

Very often web developers face the task of creating a good preloader with animation. Today we will consider creating a small preloader animation and the first screen using GSAP3. 1.HTML structure Add our structure. Previously, we prepared SVG for the preloader. 2.SCSS Now add the styles. 3.JavaScript Well, add our animation. You can see the […]

Automatic layout testing with BackstopJS

Automatic layout testing with BackstopJS
in Front-end | April 15, 2020

Hi, developer! A frequent problem of a layout designer is that he corrects styles in one place, but he sees changes in several places. And the layout designer notices it too late. In this post, I will talk about regression testing. The essence of the method is that you take screenshots of the site (not […]

WordPress theme development – Connect your styles and scripts

Connect your styles and scripts on WP
in Front-end, Wordpress | March 12, 2020

1. Connect styles So, we already have the pre-integrated slicing, now we need to set up it on WordPress, copy the folders /js and /styles into the theme folder wp-content/themes/test_themes/ In wp-content/themes/test_themes/ we need to create functions.php. To connect your styles in functions.php to the theme write down: register_styles – free-handed function name. wp_register_style – registers CSS file in WordPress. After registration, you can add […]

Animating Elements Using the MotionPath Plugin

Animating Web Elements Using the MotionPath Plugin
in Front-end | January 21, 2020

MotionPath is one of the new animation features in GSAP 3. This plugin allows you to turn any path from SVG into the motion path of your animated element. Beginning of work: Connecting gsap Connecting MotionPathPlugin. It needs to be connected separately, since it is not part of the gsap kernel. Next we create the […]

Animation of elements when scrolling a page using GSAP

Animation of elements when scrolling a page using GSAP
in Front-end | January 14, 2020

Let’s consider creating an animation of elements when scrolling a page using a specific task as an example. What do we have The section where two blocks are placed (fig. 1). On the left there is a title and a block with icons (1), on the right there are blocks with text (2). Hereafter, the […]

Developing of WordPress theme – Main definitions

Developing of WordPress theme
in Front-end, Wordpress | January 3, 2020

Main definitions Theme WordPress theme – it’s a common design of the site that includes colour, graphics, and text. The theme – this is what is sometimes called ‘skin’ or ‘template’, but it’s neither one nor the other. ‘Skin’ and ‘template’ is a decoration of the site. WordPress theme is a place where the code meets […]

2 Javascript functions to speed up the layout creation

2 Javascript functions to speed up the layout
in Front-end | December 15, 2019

Hi, developer! Recently, our team thought that some things we do too often, and we need to optimize these processes. We have written 2 functions that help us to slice faster. To use these functions you need to connect jQuery (even if you have declaimed from it, connect it temporarily). Collect classes from the BEM […]

How we use SVG sprites

How to use svg sprites fronetnd blog
in Front-end | November 27, 2019

Hi, developer! When making a layout from PSD, icons are often inserted in SVG format, and if not, we ask them from the designer. Earlier we used icon fonts, but recently saw the advantages of sprites and decided to try to play with them to place them into the development process. We like icon fonts, […]