[Pkg-javascript-commits] [d3-tip.js] 211/277: added CSS instructions to the README

bhuvan krishna bhuvan-guest at moszumanska.debian.org
Thu Dec 8 06:57:31 UTC 2016


This is an automated email from the git hooks/post-receive script.

bhuvan-guest pushed a commit to branch master
in repository d3-tip.js.

commit 49729bd8ef24edb3794cc8ab55d1632c80406bc2
Author: Dean Malmgren <dean.malmgren at datascopeanalytics.com>
Date:   Sat Dec 7 14:23:34 2013 -0600

    added CSS instructions to the README
---
 README.md | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index b0b202f..6906d83 100644
--- a/README.md
+++ b/README.md
@@ -17,8 +17,7 @@ bower install d3-tip
 ```
 
 ### Quick Usage
-``` javascript
-
+```javascript
 /* Initialize tooltip */
 tip = d3.tip().attr('class', 'd3-tip').html(function(d) { return d; });
 
@@ -36,3 +35,10 @@ vis.selectAll('rect')
   .on('mouseover', tip.show)
   .on('mouseout', tip.hide)
 ```
+
+For basic styling, you can also include the `index.css` into your site
+via the [rawgithub CDN](https://rawgithub.com/), for example:
+
+```html
+<link rel="stylesheet" href="//rawgithub.com/Caged/d3-tip/master/index.css">
+```

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/d3-tip.js.git



More information about the Pkg-javascript-commits mailing list