Skip to main content

Here's what a VPN can't protect you from (but you need to use it)

The abbreviation " VPN " has slowly become established among average Internet users, which is certainly good, but the problem is that people have started to see VPN as the ultimate solution to all problems.

[CSS] Shadow Box

[CSS] Shadow Box

One simple code with which you can add a shadow below a field in CSS.

You can change everything in this Code as you see fit.

To get started, open Notepad (I recommend Notepad ++).

Ok, if so, let's start:

First:

 We add <style> </style> where we define the look in between, ie. we insert the CSS Code

<style>
.box {
    color: #fff; /* text color */
    text-align: center; /* text on the center */
    position:fixed; /* we put box fixed on scroll */
    width:50px;
    height:40px;
    bottom:50%; /* distance from bottom */
	left: 50%; /* distance from left */
	font-size: 20px; /* size of text */
	font-weight: Bold; /* text is bold */
    padding: 30px; /* text padding from all distances */
    background:rgba(0,0,0,0.8); /* background, numbers 1,2,3 are RGB colors, number 4. is opacity */
    -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.75); 
    -moz-box-shadow:    0px 0px 15px rgba(0, 0, 0, 0.75);
    box-shadow:         0px 0px 15px rgba(0, 0, 0, 0.75);
}
</style>

0px 0px 15px rgba(0, 0, 0, 0.75);

  • The first number represents how much the shadow will be moved RIGHT (put minus so that the shadow goes LEFT)
  • The second number represents how much the shadow will be moved DOWN (Put minus so that the shadow goes UP)
  • The third number represents how blurry the shadow will be a number - a larger shadow.

Then:

Below all this we add a <div> tag;

<div class=“box“> test </div>

Now we have "invoked" that CSS Code and we can write some text or add a link. Everything you put between <div> and </div> will be in that field.

And finally, it would look like this:

<style>
.box {
    color: #fff;
    text-align: center;
    position:fixed;
    width:50px;
    height:40px;
    bottom:50%;
	left: 50%;
	font-size: 20px;
	font-weight: Bold;
    padding: 30px;
    background:rgba(0,0,0,0.8);
    -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.75);
    -moz-box-shadow:    0px 0px 15px rgba(0, 0, 0, 0.75);
    box-shadow:         0px 0px 15px rgba(0, 0, 0, 0.75);
}
</style>
<div class="box"> test </div>

Comments

Popular this month

The difference between Sleep, Hibernate and Hybrid sleep options

What is the difference between regular Sleep mode and Hybrid sleep mode? And what is Hibernate ? I will try to explain in the simplest way possible so that everyone understands nicely. 1. Sleep When you select Sleep mode , all components of the computer except RAM are shut down to store data. So, if you do something on the computer and press Sleep, the computer shuts down and everything you did (left open windows, documents, etc.) is stored in RAM.

How to speed up folder opening [Win7]

I had a problem with the slow loading of folders on Win7, until recently. When I opened the folder, I waited for a while to read all the items from it. That green progress, at least upstairs, was filled with incredible slowness , which annoyed me. I searched a bit on the net, I concluded something myself and came up with a simple and effective solution. You will not need any program or complicated settings for this, everything is easy.

How to find a phone in the house if it is muted?

UPDATE: the article is outdated, read the new one:  How to find a phone if its sound is off ? Lost your Android phone at home, desperately trying to find it, and the ringtone is off? Well, that's going to be a bit more difficult. But there is a solution for that as well -  Remote Ringer . This application works quite simply:

Image of 1.74 giga pixels

In the picture of Barack Obama 's inauguration on January 20, 2009. you can clearly identify each person individually in that mass of people. Click 2x anywhere on the image. Use the zoom on the left to zoom in on the selected person and wait a few seconds for the image to focus. That image was taken by a 174-megapixel robot camera. That's 295 x the average 5-megapixel camera.

How to take a picture of an entire website

You need to take a picture of the whole website but you don't know-how. You try to paint part by part, but it takes too much time. Here are a few solutions on how to do it in just a few seconds.