require_once('../../../../wp-load.php');on my-dinamic-css.php file but another article said, it will be make wordpress load twice.
Any advice would be appreciated, thanks in advance

You have three options in my opinion that would be valid and ok.
1.) Echo css directly inside of <head> from options (make sure to sanitize data)
2.) Use http://codex.wordpress.org/Function_Reference/wp_add_inline_style
3.) Use WP FileSystem API to create and update custom.css file on user’s server
- Sold between 250 000 and 1 000 000 dollars
- Community Moderator
- Author was Featured
- Item was Featured
- Bought between 50 and 99 items
- Referred between 1000 and 1999 users
- Has been a member for 3-4 years
- Repeatedly Helped protect Envato Marketplaces against copyright violations
What do you mean by “dynamic”? If you just mean it is user-created, then you should write any custom-generated CSS to a static file using file_put_contents and then load it via wp_enqueue_style().
You shouldn’t serve front-end assets like CSS via PHP, it’s a waste of server resources.
EDIT – oh cool, I like OriginalEXE’s suggestion of the FileSystem API for writing the static file – didn’t know that existed!
That’s even better then.
If by dynamic you mean the CSS actually changes every page load, it might make more sense to write it in a style block in the header. That’d be pretty unusual, though.
sevenspark saidIsn’t it a bad practice to use php functions for file management and not the WP FileSystem API?
What do you mean by “dynamic”? If you just mean it is user-created, then you should write any custom-generated CSS to a static file using file_put_contents and then load it via wp_enqueue_style().You shouldn’t serve front-end assets like CSS via PHP, it’s a waste of server resources.
If by dynamic you mean the CSS actually changes every page load, it might make more sense to write it in a style block in the header. That’d be pretty unusual, though.
Because, if you use native php functions than the server owns the files, and not user, which might cause problems on shared host where everyone would be able to edit your own files.
EDIT: I’ts not every day I get to teach an elite author something
I can die happy now.
- Sold between 250 000 and 1 000 000 dollars
- Community Moderator
- Author was Featured
- Item was Featured
- Bought between 50 and 99 items
- Referred between 1000 and 1999 users
- Has been a member for 3-4 years
- Repeatedly Helped protect Envato Marketplaces against copyright violations
LOL 
Great, thanks for reply,
Actually i want to use it with theme option, so users can set their own font, color or content easily, any suggestion which one is best to use?
Well,
I would say that 1.) or 2.) would be the easiest for you as WP FileSystem API can sometimes cause problems on bad hosts, and if the user does not know his ftp details, it could be unnecessary pain in the a**.
i would go with number 2.)
//add new color css file
$color_options = get_option('wope-color');
$current_color = $color_options['current-color'];
$parent_dir = dirname(dirname(__FILE__));
$color_file = $parent_dir.DS.'color-scheme'.DS."color.css";
include("color_pattern.php");
file_put_contents($color_file,$color_text);
abd the color_pattern.php file simple like that , no need for any hard code 
<?php
$color_text = "
::selection{
background-color:#".$current_color.";
}
a,a:link , a:visited{
color:#".$current_color.";
}
a:hover{
color:#666666;
}
...
";
?>
Thank you very much to all of you 
This may be of some help to you – http://aquagraphite.com/2012/11/using-wp_filesystem-to-generate-dynamic-css/
