CSS.

Accesso orientato all'oggetto a fogli di stile a cascata (CSS)
Scarica ora

CSS. Classifica e riepilogo

Annuncio pubblicitario

  • Rating:
  • Licenza:
  • MIT/X Consortium Lic...
  • Prezzo:
  • FREE
  • Nome editore:
  • Jared Forsyth
  • Sito web dell'editore:
  • http://jaredforsyth.com/

CSS. Tag


CSS. Descrizione

Accesso orientato all'oggetto a fogli di stile a cascata (CSS) CSS è un modulo perl che consente l'accesso orientato all'oggetto ai fogli di stile a cascata (CSS) .synopsis Utilizzare CSS; # Crea un oggetto CSS con le opzioni predefinite My $ CSS = CSS-> Nuovo (); # Crea un oggetto CSS con un parser specifico My $ CSS = css-> nuovo ({'parser' => 'css :: Parse :: lite'}); My $ CSS = CSS-> Nuovo ({'Parser' => 'CSS :: Parse :: pesante'}); My $ CSS = CSS-> Nuovo ({'Parser' => 'CSS :: Parse :: compilato'}); # Crea un oggetto CSS con un adattatore specifico My $ CSS = CSS-> Nuovo ({'Adapter' => 'CSS :: Adattatore'}); My $ CSS = CSS-> Nuovo ({'Adapter' => 'CSS :: Adattatore :: Pretty'}); My $ CSS = CSS-> Nuovo ({'Adapter' => 'CSS :: Adattatore :: Debug'}); # analizzare alcuni css da una stringa $ css-> read_string ($ css_data); $ css-> read_string (($ css_data, $ therl_css_data)); # analizzare alcuni CSS da un file $ css-> read_file ('my_file.css'); $ css-> read_file (("my_file.css", "my_other_file.css")); # Uscita il CSS utilizzando l'adattatore corrente Stampa $ css-> output (); # Imposta un nuovo adattatore e quindi emetterà il CSS $ CSS-> Set_Adaptor ('CSS :: Adapter :: foo'); Stampa $ css-> output (); # Uscita il CSS utilizzando un adattatore Tempory Stampa $ CSS-> Uscita ('CSS :: Adattatore :: Bar'); # Dimentica il CSS Abbiamo già analizzato $ CSS-> Purge (); questo modulo può essere utilizzato, insieme a un modulo CSS :: Parse :: * * per analizzare i dati CSS e rappresentarlo come un albero di oggetti. Utilizzando un modulo CSS :: Adattatore :: * * Modulo, l'albero dati CSS può quindi essere trasformato in altri formati. Requisiti: · Perl.


CSS. Software correlato