Posts

CSS Gradients

Image
CSS gradients let you display smooth transitions between two or more specified colors. Types of gradients Linear Gradients(down/up/left/right/diagonally) Radial Gradients Syntax for linear gradients:- background-image: linear-gradient( direction , color-stop1 , color-stop2, ... ); CSS Linear Gradients To create a linear gradient you must define at least two color stops. Color stops are the colors you want to render smooth transitions among. You can also set a starting point and a direction (or an angle) along with the gradient effect. CSS Radial Gradient A radial gradient is defined by its center. Syntax for radial gradients:- background-image: radial-gradient( shape size at position, start-color, ..., last-color ); For example:- <!DOCTYPE html> <html> <head> <style>  *{   padding: 0px;   margin: 0px;  } #grad1 {   height: 400px;   background-color: red;   background-image: linear-gradient(to right, #65f7f7, yellow); } <

Create Transparent Drop Down Navigation Menu with CSS and HTML

Image
                                                                                                       HTML AND CSS CODE :- <html>  <head>   <style>   BODY{  background-image: url(../image/background-blur-clean-531880.jpg);  padding: 0px;  margin: 0px; } #menu{  background-color: black;  opacity: 0.5;  height: 80px;  width: 100%; } #menu ul{  text-align: center;  font-size: 19px; } #menu ul li{  list-style-type: none;  float: left;  display: block; } #menu ul li a{  color: white;  text-decoration: none;  padding: 30px;  display: block; } #menu ul li a:hover{  color: red;  text-decoration: underline;  background-color: aquamarine;  border-radius: 10px; } #menu ul li ul li{  display: none;  width: 100%;  height: 70px; } #menu ul li:hover ul li{  display: block; }   </style>  </head>  <body>   <div id="menu">    <ul>     <li><a href="#">HOME</a></li>     <li><a href="#&quo

Gradient Background Animation Using Only HTML & CSS

Image
HTML AND CSS CODE :- <!doctype html> <html>  <head>   <style>    body{  margin:0px;  padding: 0px;  background-color: #0a0a0a; } h1{  width: 100%;  text-transform: uppercase;  text-align: center;  top:70%;  font-size: 65px;  font-family: monospace;  background:linear-gradient(to right, #0a00ff,#4c9a4c,#a4a4fd,#fcfc46);  -webkit-text-fill-color:transparent;  -webkit-background-clip:text; }   </style>  </head>  <body>   <h1>    hello everyone........   </h1>  </body> </html>

Client Side Scripting Vs Server Side Scripting

Client Side Scripting  Client-side scripting is used when the users’ browser already has all the code and the page is altered on the basis of the user's input. Client-side scripting cannot be used to connect to the databases on the web server. Client-side scripting is possible to be blocked by the user. The Web Server executes the server side scripting that produces the page to be sent to the browser.  The browser receives the page sent by the server and executes the client-side scripts. Client-side scripting can’t access the file system that resides at the web server. The files and settings that are local at the user’s computer can be accessed using Client-side scripting.  Response from a client-side script is faster as compared to a server-side script because the scripts are processed on the local computer. Examples of Client side scripting languages : JavaScript, VB script, etc.

How To Create Login Form In HTML and CSS

Image
In this tutorial, we will be creating a login form using only CSS3 and HTML5

Form html

Image
HTML Forms are required when you want to collect some data from the site visitor. For example, during user registration, you would like to collect information such as name, email address, credit card, etc. Adding a simple search box to your website or you need to create a more complicated application. Html gives you the platform to collect the data from your users. The HTML <form> tag is used to create an HTML form and it has following syntax − <form action = "Script URL" method = "GET|POST"> form elements like input, textarea etc. </form>      Form Controls There are different types of form controls that you can use to collect data using HTML form − Text Input Controls Checkboxes Controls Radio Box Controls Select Box Controls File Select boxes Clickable Buttons Submit and Reset Button For example:- <head>     <title>table form</title></head>     <body>     <form>         <t

About CSS

Image
 What is CSS? CSS  stands for  C ascading  S tyle  S heets CSS describes  how HTML elements are to be displayed on screen, paper, or in other media CSS  saves a lot of work . It can control the layout of multiple web pages all at once External stylesheets are stored in  CSS files "Css allows you to create rules that specify how the content of an element should appear. For example, you can specify that the background of the page is mint-cream,all the paragraph appear in Gray using the Arial typeface and headings should be in a blue and  italic."      Css file:- where  p = Selector (which indicate the rule to applies.the same rule apply more than one element if you separate the element name with commas.) { color:gray;      font-family:arial;   } Declartions (Indicate how the element referred to in the selector should be styled. Declaration are split into two parts   Property   value and separated by a colon. Thr