Posts by Afonso Pacifer • 91 points
5 posts
-
0
votes2
answers477
viewsA: Calculation of . scss for . Sass
So what happens is that Sass just like all preprocessors don’t run calculations with different units of media.. and in case he’s trying to run and compile it.. The solution in this case is to make…
-
4
votes1
answer1978
viewsA: How to set box amount with flex
You can set a width on flex-items, so they occupy the total space (100%), half (50%), 1/3 (33%), etc... ul { display: flex; flex-wrap: wrap; } li { /* 1 por linha */ /* width: 100%; */ /* 2 por…
-
0
votes1
answer101
viewsA: Div’s Auto Dimensionaveís
You can use the properties of flexbox to do this, just turn your container into a flex container, and then adjust your child elements with the flex property, which makes "content automagically fill…
-
1
votes1
answer916
viewsA: run automatically
Use a Module Pattern, which consists in placing its function between (), and then put it on the end again () but empty, follows an example: Normal execution: function exemplo() { alert('exemplo'); }…
-
1
votes1
answer180
viewsA: Define style in the :Hover event of an inline HTML form element?
Unfortunately not, because it is a pseudo-selector it works only on external style sheets or within the page in question.