Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

milk1000cc-docomo_css

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

milk1000cc-docomo_css

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

= DocomoCss

docomo_css is a CSS in-liner.

Most handsets for the Japanese cell-phone carrier DoCoMo cannot use external style sheets, such as

style css, only can use in-line CSS.

Instead, every element must use its own style attribute, for example

docomo_css works around this by inlining all CSS automatically for you.

== Install

sudo gem install milk1000cc-docomo_css --source=http://gems.github.com

== Usage

app/controllers/articles_controller.rb

class ArticlesController < ApplicationController docomo_filter # please add this ... end

app/views/articles/index.html.erb

<%= stylesheet_link_tag 'foo', :media => 'handheld, tty' %>
bar

public/stylesheets/foo.css

.title { color: red; }

result

<%= stylesheet_link_tag 'foo', :media => 'handheld, tty' %>
bar

== Author

Copyright (c) 2008 milk1000cc, released under the MIT license

milk1000cc mailto:info@milk1000.cc

Gem and refactorings by Paul McMahon mailto:paul@mobalean.com

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc