Border radius – css simple example

Hello, here is very simple example of how to use border radius in css style. When you are using border-radius property you can add only one value or four values. For example when you will use only one value of parameter: <div style=”border-radius:10px;border:1px solid #000;”></div> You will get a div with all rounded corners by …

Continue reading ‘Border radius – css simple example’ »

How to create a virtualhost on Wamp server – Windows

Hello, if you want to create a virtualhost on your local machine (under Windows) using WAMP server and run your local php script/webpage under domain http://virtual1.localhost, here is an example and steps what you should do (an installation folder of WAMP server in this case is d:\wamp, the folder with your new app for example …

Continue reading ‘How to create a virtualhost on Wamp server – Windows’ »

Simple example of html5 form with validation

Hello, I would like to show, a simple example of form written in html5, with fields validation using default html5 attributes. <!DOCTYPE html> <html> <head> <meta charset=”utf-8″ /> <title>Form 1</title> </head> <body> <div> <form> <input type=”text” name=”first_name” required placeholder=”First name” ><br> <input type=”email” name=”e_mail” required placeholder=”Your e-mail” ><br> <textarea name=”message” required placeholder=”Message”></textarea><br> Accept regulations <input …

Continue reading ‘Simple example of html5 form with validation’ »