Arjun Thakur has Published 1109 Articles

How to make SQL case sensitive string comparison in MySQL?

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 07:44:14

695 Views

Firstly, we will create a table with the help of CREATE command.Creating a table −mysql> CREATE table InCaseSensDemo -> ( -> Name varchar(100) -> ); Query OK, 0 rows affected (0.50 sec)Inserting records into the table with the help of INSERT command −mysql> INSERT into InCaseSensDemo values('JOhN'); Query OK, 1 ... Read More

HTML5 Canvas Text Stroke for Large Font Size

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 07:42:11

161 Views

To draw large font properly in HTML5 Canvas, you can try to run the following code −var myCanvas = document.getElementById("myCanvas"); var context = myCanvas.getContext("2d"); context.font = '180pt Georgia'; context.strokeStyle = "#FF0000"; context.fillStyle = "#FFFFFF "; context.lineWidth = 34; context.fillText("Demo!",0,200); context.strokeText("Demo!",0,200);

Perform basic HTML5 Canvas animation

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 07:38:10

208 Views

HTML5 canvas provides the necessary methods to draw an image and erase it completely. We can take JavaScript help to simulate good animation over an HTML5 canvas.ExampleYou can try to run the following code to perform basic HTML5 Canvas Animation −               ... Read More

CSS only Animate - Draw Circle with border-radius and transparent background

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 07:36:26

601 Views

To draw a circle with transparent background and border-radius, use the following CSS −body {    background: repeating-linear-gradient(45deg, white 0px, green 100px);    height: 400px;    background-size: 400px 400px;    background-repeat: no-repeat; } html {    height: 100%; } #box {    position: absolute;    width: 400px;    height: 400px; ... Read More

HTML5+CSS3 Framework like BluePrint/960gs?

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 07:23:57

72 Views

You can use the BluePrint/960gs framework or any of the following −52frameworkSusy        52framework (Refer)The framework that provides −CSS3 gradients, multiple shadows, and other amazing properties.CSS3 selectors with support for IE.New and improved HTML5 video support with vimeo like skinA completely new Form Framework with HTML5 Validation (via ... Read More

Perform Animation on CSS clip property

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 07:22:35

113 Views

To implement animation on clip property with CSS, you can try to run the following codeExampleLive Demo                    div {             width: 200px;             height: 300px;         ... Read More

HTML5 video not working with jquery bxSlider plugin on iPad

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 07:10:16

156 Views

To make it work, download the bxslider plugin from the official website. Get an images folder from the downloaded bxslider zip and you need to paste it into js folder of your project.All the folders will now look like − The above should solve your problem.

How to work with Flexbox elements in CSS?

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 07:05:19

118 Views

Define a flex container and set the flex items in it.You can try to run the following code to learn how to implement Flexbox elements. Q1, Q2, Q3 here are the flex-items. The entire area is Flexbox elementExampleLive Demo                   ... Read More

CSS Grid Elements

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 06:56:38

302 Views

Grid Elements in CSS has parent and child elements. Here’s an example wherein a grid is created with 6 elements.ExampleLive Demo                    .container {             display: grid;             grid-template-columns: auto auto;             padding: 20px;          }          .ele {             background-color: orange;             border: 2px solid gray;             padding: 25px;             font-size: 20px;             text-align: center;          }                     Game Board                1          2          3          4          5          6          

Cross domain HTML5 iframe issue

Arjun Thakur

Arjun Thakur

Updated on 25-Jun-2020 06:25:26

379 Views

Use the postMessage method for transferring data across different domains.ExampleYou can try the following code snippet to solve the cross-domain HTML5 iframe issue −// Using postMessage() window.onmessage = function(e) {    e.source.postMessage(document.body.innerHTML, e.origin); }; window.onmessage = function(event) {    alert(e.data); }; // fire document.getElementById('frame1').contentWindow.postMessage('', '*');Read More

Advertisements