Kaivosukeltaja

Vanda, Finland

nikosalminen.com

Age: 36

Web Developer since 2000, currently using PHP, MySQL, Symfony, Drupal. Dabbling with Python and Django. Beer geek, whisky enthusiast, bass player, photographer.

Feb
3
comment Critical CSS with SASS
Our build process uses SASS and not PostCSS (yet) so I'd really prefer a SASS solution.
Feb
3
comment Critical CSS with SASS
@cimmanon: I'm not asking for tool suggestions. I'm asking for a way to solve a well-defined problem in SASS. If a possible solution involves using an external tool such as PostCSS I don't think it turns my question into a tool request.
Feb
3
comment Critical CSS with SASS
@cimmanon: Please read the question again. Note the repeated phrase "something like this". It doesn't have to be mixins, and SASS doesn't have to be the only tool in the chain.
Feb
2
asked Critical CSS with SASS
Jan
26
reviewed Approve suggested edit on Left Join not working with conditions
Jan
21
answered Server overload ... with requests? How do I efficiently program server-client wise
Jan
20
answered Split lines evenly
Jan
19
comment Split lines evenly
Yes, looks like you understood my question correctly. :) Your pseudocode example looks like a reasonable starting point in case a simpler solution doesn't come up.
Jan
19
comment Split lines evenly
See failing example - the lines should either be of equal width or on a single line: jsfiddle.net/cqmwqgbj/3
Jan
19
comment Split lines evenly
Try removing everything in the first paragraph after the word consectetur. I'm expecting the lines to be close to equal length, but instead consectetur stays alone on its own line.
Jan
19
comment Split lines evenly
@Pogrindis: I haven't tried much yet since the only sure way I know of doing this would involve splitting the text to span elements, calculating their width and manually adding line breaks where needed on screen resize. I thought I'd ask first to see if there's a simpler solution. @Bit: No need for special handling for long words. Just note that the font is variable-width so we don't know how wide they'll end up being on the screen by text alone.
Jan
19
comment Split lines evenly
Exactly, there's zero need to be intimidated by reputation. I've seen people with way over 10k reputation ask very basic questions on topics they're not previously familiar with. Unfortunately I can't limit the text width, see my updated third example to see why.
Jan
19
revised Split lines evenly
Better third example
Jan
19
revised Split lines evenly
Add a third example case
Jan
19
asked Split lines evenly
Jan
15
comment Symfony2/Twig: Error on conditionally render
Can you show how you pass the values to Twig in your controller?
Jan
15
comment Symfony2/Twig: Error on conditionally render
Is the actual name of your form variable form_to_be_rendered? If you're using something else like if some_object.form is defined you could get an error if some_object is undefined.
Jan
15
comment Symfony2/Twig: Error on conditionally render
Which line is number three? The one with if or form()?
Jan
5
comment Workaround for float margins not collapsing
I added a screenshot of the actual and desired result. The code snippet above works like jsfiddle/codepen, just click on "Run code snippet".
Jan
5
revised Workaround for float margins not collapsing
add screenshot of actual and expected
1 2 3 4 5