
Search In
Yon can flip image with css please check the code below
img {
-moz-transform: scaleX(-1);
-o-transform: scaleX(-1);
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
filter: FlipH;
-ms-filter: "Fli
Passing argument to a function by value is also know as call by value. This method of passing arguments to a function copies the original value of argument into the formal parameter of a function. In other words if we change parameter which are give
Passing argument to a function by reference is also know as call by reference. In this method if we change the parameter given in the function will effect the argument. For passing a value by reference, we use pointers. As we use pointers in call b
Php sorting function of an array:
sort() -This will sort an arrays in ascending order.
rsort() -This will sort arrays in descending order
asort() -This function will sort associative arrays in ascending order, according t
Hello Readers,
Today's topic is how to create a SVG?- Every shapes in SVG are based on coordinates (x and y axis). So if you want to edit ,create and script, you have to know about coordinates.
SVG has pre define shape like,
1) Circle
2) R
IntroductionIn today's information overload, standing out requires more than good content. It would help if you personalized it to your audience, speaking directly to their needs and desires. This shift from generic messaging to indiv
Using sort method we can sort any string, numbers, even classes either in ascending order or descending order .To sort an array ,you need to compare its element using <, >, <=, >= .
return -1 if x < y
return 0 if x = y
return 1 if x &
In some situation we need session id. In Laravel 3 and Laravel 4.x we have predefined function by which we can get session id. In laravel 3 we will get session id:
Laravel 3:
$session_id =_COOKIE["laravel_session"];
Laravel 4.x:
$session_id = S
The Math.pow() function calculates the power of x to y, x ^ y. Matrix exponentiation is supported for square matrices x, and positive integer exponents y. It returns the base to the exponent power, that is, base exponent. It Gets a number raised to t
If you want to drag your element from one point to another, here is the code below using Javascript:
HTML:
<div id="dragElement">Drag me!</div>
CSS:
#dragElement {
width:100px;
height:100px;
background-color:#666;
color:white
