A little something about everything

internet marketing and website development made simple..

Staggered Animation in CSS for Slideshow

Concept:

Staggered animation to create a slideshow from pure CSS and HTML5

Demo

The CSS:

div {
  width: 100px;
  height: 100px;
  background: red;
  position: relative;
  -webkit-animation: mymove 5s infinite; /* Safari 4.0 - 8.0 */
  -webkit-animation-delay: 2s; /* Safari 4.0 - 8.0 */
  animation: mymove 5s infinite;
  animation-delay: 2s;
}
div#two {
	animation: mymove 5s infinite;
  animation-delay: 5s;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes mymove {
  from {left: 0px;}
  to {left: 200px;}
}

@keyframes mymove {
  from {left: 0px;}
  to {left: 200px;}
}

And the HTML:

<div id="one"></div>
<div id="two"></div>

 

How to install Virtualmin on CentOS7, Simple step by step

To get started after installing CentOS7 you will need to follow these steps:

First Update CentOS

yum update

Install wget

yum install wget

Download Virtualmin

wget http://software.virtualmin.com/gpl/scripts/install.sh

Install Webmin

/bin/sh install.sh

You should now be able to access Virtualmin Control panel via https > your domain > port 10000

 

How to disable popup tips in Visual Studio Code

Visual Studio Code is a great stand alone code editor that is free from Microsoft. However, it does have a few annoying functions out of the box. The worst of them is the constant tool tips which can get in the way of code and in some cases open browser windows as you accidently click on these tool tips.

Here is how you can remove these tool tips

In all methods you will need to open the User Settings editor. To do this:

  • Click File > Preferences > Settings
  • Now expand "Text Editor"
  • Click on "Suggestions"
  • Click "Edit in Settings.json"

Now you will have the "{} User Settings" tab open. The pane on the left is the defaults and the pane on the right is where you can edit these settings. You will need to place the updates inside of the "{ code here, }" then click save. 

Method 1, update the suggestion delay so you can still have tips but they don't appear unless you hover over the element for some time.

  "editor.quickSuggestionsDelay": 1000,

Method 2, disable the hover function. You will still be able to use CtrlR + K and CtrlR + I as needed.

"editor.hover.enabled": false,

Method 3, disable completely. You don't want or need these tips and you want them to go away forever.

"editor.parameterHints": false,

 

That's it, your done!