chriscoyier
-
Does anyone NOT use a preprocessor?
I try to make my points about WHY preprocessors in a recent talk:
-
I got DDOSed; is it appropriate to blog about it?
I think if you learned something worth sharing it's a good idea to blog about it. If it's cathartic only, perhaps a diary =)
-
codepen || jsfiddle || jsbin
Just to address some of the "Cons" in CodePen ... =) No way to turn off specific code windows You can't turn them off, but you can maximize any of the editors :: http://blog.codepen.io/documentation/features/full-screen-editing/…
-
CSS-Tricks Bug
This should be fixed in kind of a temporary way. The CSS and fonts just aren't using the CDN now. Not ideal, but better than broken fonts.
-
CSS-Tricks Bug
Yah there is a difference. The WordPress side uses the CDN and the forums do not, which is the crux of the issue.
-
CSS-Tricks Bug
I'm on the case! It's pretty complicated actually, because of some new nginx caching going on on the site, amongst other things. They SHOULD work from the CDN, but either Firefox started not allowing cross-origin fonts depite the headers, …
-
Typography Category
Probably right after the bbPress transition in a month or two.
-
Typography Category
I could see "Design" being a good compromise, yeah?
-
Does Linking an External Stylesheet Slow Down Website Load Time?
Technically yes, but then on the next page load, that stylesheet / js file / image, whatever external resource is cached. So It doesn't have to come across the internet again, it just comes right from your local machine. If you embed everything…
-
Horizontal lines after header
Here's a way with some pseudo elements: http://codepen.io/chriscoyier/pen/zDGkw
-
Media Queries for Standard Devices still up to date on this Site?
Yeah.... it's not wrong but I wouldn't write media queries like that anymore. Mostly just change browser window until it "gets weird" and put a media query there to fix it.
-
Can't find the answer to this on WuFoo forums :(
Technically it does redirect, but Wufoo forms are inside of iframes when you embed them, so when the redirect happens, it looks like the text just changes inside that area.
-
Can't find the answer to this on WuFoo forums :(
What you are describing is the default behavior for all embedded Wufoo forms. E.g. setting confirmation text :: http://cl.ly/O84B
-
text-rendering: optimizeLegibility;
Good before/afters here http://aestheticallyloyal.com/public/optimize-legibility/
-
Good Vanilla Forms Resources?
I haven't actually used bbPress yet, so it's a little hard for me to straight up recommend, but it's very likely that would be a better way to go. I'm in the early stages of thinking of getting these forums converted to that. I d…
-
MAMP Pro the same way that Chris
It's basically Server > General > Apache [ 80 ] (default ports)
-
As a front end person, what steps can I take to improve the speed at which the site loads?
A little whitespace isn't a big deal, although the less the better of course. HTML and CSS should be served gzipped so that stuff is negligible. This video covers your biggest easy wins as a front end person: http://wordpress.tv/2012/08/26/chr…
-
Anyone having CodePen troubles? {{ JS }}
Hey John, Sorry it's been a bunch of days - just seeing this. Best possible place to hit us up is: http://blog.codepen.io/support/ That doesn't sound normal for sure, so if it's being weird still hit us up with an example pen that s…
-
Separate post formats in WordPress
Yep, it's just running multiple loops for what you need. WP_Query is great for that. It's covered in both series in The Lodge =)
-
@font-face icon font not working in firefox
What Josh said, but also, I've had a situation where I had to run an IcoMoon export through Font Squirrel (http://www.fontsquirrel.com/) to get it to work in Firefox as well. So try that if you're font is actually local and not working.
-
RWD off-canvas multi-menu
This type of thing has been dubbed "Off Canvas" design, starting here: http://www.lukew.com/ff/entry.asp?1569 My take: http://css-tricks.com/off-canvas-menu-with-css-target/ More: http://coding.smashingmagazine.com/2013/01/15/off-canvas-…
-
Codepen full/live view cut-off on Chrome mobile
Thanks! please send to support@codepen.io
-
Looking for an article by Chris on CSS-Tricks. Clear Fix types. Pros and cons of each....
This: http://css-tricks.com/css-image-replacement/ and kinda turned into this: http://css-tricks.com/examples/ImageReplacement/ Not exactly clearfix but related-ish.
-
How to change SVG fill color with jQuery on hover?
The fill: red; stuff needs to be in a block inside the SVG, which is inline in the document though, right? I've never been able to get it to work any other way.
-
"magic numbers" in CSS
It would be sweet to start collecting examples of magic numbers for a blog post!
-
"magic numbers" in CSS
This is a great question. I'd say in the example case it's not a magic number. It's a specific design choice, like any other positioning or spacing. To me magic numbers are more related to "fixing" problems. They are also of…
-
What's the best way to line background images up across multiple elements?
You don't really need :not() - you could just adjust JS to add both .active and .inactive classes and style based on that. And use an actual table. (nobody will die).
-
What's the best way to line background images up across multiple elements?
You could do it like this: http://codepen.io/chriscoyier/pen/DFdJi
-
css-tricks's Terms of Service Page isn't available
Weird. Works on my localhost so it's kinda hard to troubleshoot. I'll just post them here for now: http://css-tricks.com/forums-terms-of-service/ and change the link.
-
iframe troubles
You're loading up this to load jQuery: http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js That will link to the latest version of jQuery 1.x which is now jQuery 1.9. In this version of jQuery, $.browser is deprecated (or just straigh…