Posts by Marcos Carvalho • 151 points
4 posts
-
9
votes3
answers4338
viewsA: What is the "line break" in a Regex?
even with the multiline argument as FALSE and it caught the f after the break ( n) of the word professional. The argument multiline simply changes the behavior of ^ and $ in a regular expression so…
-
2
votes2
answers560
viewsA: Change DIV via jQuery
You can use the function .replaceWith(novoConteudo) jquery. novoConteudo can be an object jQuery, one Element, a string or an array. For example, in the example, the code would look like this:…
-
0
votes2
answers334
viewsA: CSS heritage in Divs
You can select the nths div children with CSS3, using element:nth-child(n) and thus apply a "division" of styles internally. It is also possible to select a range of children. For example; if you…
-
1
votes1
answer99
viewsA: doubts about css action in div
Your CSS selector is applying display: none for a div.oculta son of a .email:focus. In its HTML, the div.oculta will not be affected as it is not the son of .email:focus. That way, you could make it…