Posts by dic-chen • 250 points
17 posts
-
2
votes2
answers44
viewsA: how to use max-height and display table
The problem is not in the code but in the box-model concept by default elements such as the < div > are of the type block-level. When you set a display value, some properties become to behave…
-
1
votes2
answers289
viewsA: Use of callback parameter in JS functions
A button is a ui component of its application, its style (Visual) as regards position, dimensions, etc.... Shouldn’t be in the behavioral layer, in the case of Javascript. Either draw a CSS button,…
-
3
votes1
answer92
viewsQ: Build javascript modules, how to package files (modules)?
I’m using the require js and want to optimize the requests, reading a bit of the documentation on github, I know it is possible to set up a task in Grunt to concatenate my modules more I’m a little…
-
2
votes2
answers114
viewsA: Make a site not run on any version of IE
Face this approach hurts concepts of the Web itself.You’re talking about 1% of how much? 1% of 10 goes there but 1% of 10k is another neon! Taking into account Progressive Enhacement the footprint…
-
1
votes2
answers60
viewsA: Slides conflicting with each other
Probably from what I noticed you are making use of plugins for some specific behavior (slide / gallery...) on your web site and the same has as dependency on the Framework jQuery. Tips: 1.If you are…
-
-1
votes1
answer118
viewsA: Mobile Page in Chrome Simulator
Dude has a lot of points that need to be reviewed in this whole context. Come on: Web Responsive is not fully tied to Web Mobile Web Responsive is you deliver the best experience regardless of the…
-
0
votes2
answers85
viewsA: How do I use the Symbol tag instead of the g tag in Iron-iconset-svg?
Guy I think would be a little simpler: <!-- Seu componente aqui --> <svg style="display:none" id="my-icons"> <!-- Elementos de seu componente --> <symbol id="icon-1"><path…
-
0
votes1
answer209
viewsA: Insert square in caption googlemaps
I believe the best way for you to inject the square into your element would be to use a pseudo-element in his css. Ex: #legend:before{ content:''; position:relative; left:0; display:inline-block;…
-
0
votes1
answer111
viewsA: Top of the menu!
Friend I see 2 situations in your code, better saying I see 1 and in it I can define the following conclusions: Using css class with responsibility to deliver content in different resolutions; I…
-
1
votes1
answer189
viewsA: How to reset CSS of various HTML files included by require
This is possibly due to the specifics of your file. css overwriting type selectors. I would advise linking to the . html file normalize . css (just to reset) and other . css for manage style…
-
3
votes1
answer49
viewsQ: Prepocessor (Less) - Variable @Arguments
Assuming I have the following mixin with following arguments: .font-style(@size: 1.2em, @style: 100, @leading:1.4em, @color: #efefed) Now I want to play this mixin passing the arguments I define to…
-
4
votes1
answer137
viewsQ: Performance CSS (CSSOM and selectors)
Considering the assembly of CSSOM by the browser and parser (read) given right to left. I would like to play a question, because I was writing a css in a project and always have with me for…
-
0
votes2
answers180
viewsA: Problem in fixed layout creation
Dude, I got a look at the super fast code, the layout’s a little weird. But it’s easy to solve works with wrapper (100%) set with container-Fixed within each sections with resolution size you want…
-
1
votes1
answer149
viewsA: Responsive image, does not redeem correctly
It is the following André the property (background-size) when you pass some unit of measure in % for example it does the resizing keeping the Aspect ratio (ratio) of the image based on the width and…
-
1
votes2
answers903
viewsA: site does not work in mobile version
Guy just for free you are using a css library (Animate) that works with the css property based on the @keyframe rule. Check the usage of the proprietary prefixes for Mozilla and the Webkit engine. I…
-
1
votes1
answer931
viewsQ: Git Commit Error
I’m with Windows, I installed git, I config with user and email data, but it turns out that when I commit to some local repository created, it asks me to identify config (user.mail). Which is very…
-
2
votes1
answer412
viewsQ: Load dependencies on demand
I understand by dependency, the need that your script needs or is accessing in some way some method/property or properly an object encapsulated in another javascript file, whether a framework or…