How to create multiple borders in an HTML element?
In CSS3 we have a box-shadow property which creates shadow around an element.A bit tricky use of this property can get us a multiple border in an HTML element. Example, .my-name-container{ box-shadow: 0 0 0 30px violet, 0 0 0 60px indigo, 0 0 0 90px blue, 0 0 0 120px green, 0 0 0 […]
What is the difference between target and currentTarget ?
‘target‘ and ‘currentTarget‘ are two most important properties of a java script event. ‘target‘is who generated the event and ‘currentTarget‘ is who the invent is intend for. These two event properties can be distinguishable from following Example, — Two ‘UL‘ List is created, The first one […]
Getting Started With AngularJS
AngularJS is the most popular MVW(Model View Whatever) framework From Google Inc.. In this Demo, "We will create a Hello Word Web application Using AngularJS framework.We will create a conroller and learn about scope variable.Finally We will print some string using template". The project structure, About this Demo:- --- "studentDetailApp" […]
How Events are handled in Browser?
Events in browsers are handled in two ways:- 1. Event Bubbling 2. Event Capturing. Bubbling:- — When an Event is occurred It is captured by the inner most element first.Then […]