I want to create multiple keywords to work as a shortcut to auto completion.
"oi." daria "Olá Amigo"
"ate." daria "Abraço e até mais"
For example, I type in a textarea of my site the word "test." and automatically and immediately this shor...
I'm using a modal window plugin, but I'm not able to make the modal window close.
JSFiddle example: link
(function($){
$.modal = function (el, options) {
this.options = options;
this.$el = $(el);
this.$target = $(el...
I'm doing a project where I should apply a mask (PNG or SVG) over an image .
I'm using
.svg-clipped {
mask-image: url("../img/desktop_tds_hist.png") ;
-webkit-mask-image: url("../img/desktop_tds_hist.png") ;
-webkit-mask-image:...
I would like to know how I can destroy a component with React when I click a button. I found a way out, but in my design it is very "gambiarrosa". I have a state called show and when I click close I modify the value of this.state.show...
I'm putting together a page and its content contains HTML snippets of code.
I tried inserting snippets of code this way but it did not work:
/*
<!DOCTYPE html>
<html>
<body>
<p>Arrays :</p>
<pre>
<...
Good afternoon everyone!
I have a question, it can be simple (or not).
Can you change attribute?
Example, I have an img tag with a data-src attribute. I want to turn this data-src attribute into src.
So:
<img id="teste" data-src...
Well, I have a thumbnail of bootstrap , I implemented within it a div of legend, which should appear with the mouse on top. But it is popping the size of the% of parent%, which in this case is div and Thumbnail ,...
I'm doing a layout using bootstrap and I came across a problem at the time of stacking blocks to be responsive.
I have 5 blocks of different heights, divided into 3 columns:
When you reach a certain width, the blocks are stacked, but th...