IT Cooking

IT Stuff and Silly Shell


Spread the love

 

Header Anchors with AnchorJS for WordPress is nothing but so easy to set up… No shitty plugin is necessary: just some code snippets here and there, a JavaScript library, and voila the magic is happening 😀

It creates ID for your headers, and attach a hover anchor to them. ABSOLUTE development laziness, I love that.

Bonus: just adding the AnchorJS library + the JS snippet to your site will just work as fine!

(Read more…)


Spread the love
Posted In: WordPress, CSS, JavaScript, PHP Tags: ,

Spread the love

 

The Bootstrap Callout styles in their documentation is really a nice way to draw attention to important information. For some reason these Callouts are not included in the actual Bootstrap distribution.

Here is my interpretation of the missing CSS code for generic Bootstrap Callouts. The color codes for the info, warning, and danger Callouts are a direct pull from their live CSS for the docs, so I added styles for default, success, and primary.

They include a nice background, color derived from Bootstrap color rules. They also include a transparent and a disabled class.

(Read more…)


Spread the love
Posted In: CSS Tags: ,
Next Page »