A virtual teacher who reveals to you the great secrets of Base64

CSS Base64

CSS (an acronym for “Cascading Style Sheets”) is a formal language for describing the appearance of a document written using a markup language such as HTML or XML. It is mainly used to describe how a web page should look and for this purpose it can load additional web resources (such as images, fonts, or styles). As you probably guessed, such resources can be embedded in the CSS by encoding them to Base64, and sometimes it may improve the performance of the web-page.

As well as HTML, CSS supports Data URI to embed Base64 values. Of course, this does not mean that you need to embed all web resources in a CSS file. Therefore, do it wisely, and if you’re not sure, just don’t use it.

Below are listed some CSS properties that support Data URIs:

Comments (26)

I hope you enjoy this discussion. In any case, I ask you to join it.

  • Trent,
    Nouran Sherif ohh thanx .. believe it or not ...its automatic reaction ?
  • Jenn_B,
    I'm receiving a base 64 PNG image from a system and I'm looking for a way to convert the Base64 PNG string to a Base64 PDF string for another system. Any suggestions?
  • Nome,
    ´kpkkokokokokok
  • nqhXncMU,
    -1; waitfor delay '0:0:15' --
  • nqhXncMU,
    -1; waitfor delay '0:0:15' --
  • nqhXncMU,
    iNygBukB' OR 959=(SELECT 959 FROM PG_SLEEP(15))--
  • nqhXncMU,
    -5) OR 321=(SELECT 321 FROM PG_SLEEP(15))--
  • nqhXncMU,
    -1; waitfor delay '0:0:15' --
  • nqhXncMU,
    odT8hDn1' OR 772=(SELECT 772 FROM PG_SLEEP(15))--
  • gBqsPxAZ,
    CD7DrAga')) OR 276=(SELECT 276 FROM PG_SLEEP(15))--
  • gBqsPxAZ,
    -1); waitfor delay '0:0:15' --
  • gBqsPxAZ,
    CWC4WWcg' OR 97=(SELECT 97 FROM PG_SLEEP(15))--
  • gBqsPxAZ,
    -5 OR 270=(SELECT 270 FROM PG_SLEEP(15))--
  • gBqsPxAZ,
    -1); waitfor delay '0:0:15' --
  • nqhXncMU,
    O3W8yG4L'; waitfor delay '0:0:15' --
  • nqhXncMU,
    -1; waitfor delay '0:0:15' --
  • nqhXncMU,
    -1); waitfor delay '0:0:15' --
  • nqhXncMU,
    0"XOR(if(now()=sysdate(),sleep(15),0))XOR"Z
  • ncMUFCMU,
    0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
  • ncMUFCMU,
    -1 OR 2+908-908-1=0+0+0+1 --
  • ncMUFCMU,
    kVpHnS2u')) OR 814=(SELECT 814 FROM PG_SLEEP(15))--
  • ncMUFCMU,
    DmyEkuNr') OR 599=(SELECT 599 FROM PG_SLEEP(15))--
  • nqhXncMU,
    -1 OR 2+814-814-1=0+0+0+1 --
  • nqhXncMU,
    -1; waitfor delay '0:0:15' --
  • nqhXncMU,
    -1)) OR 151=(SELECT 151 FROM PG_SLEEP(15))--
  • nqhXncMU,
    cQqVQal9' OR 647=(SELECT 647 FROM PG_SLEEP(15))--
Add new comment

If you have any questions, remarks, need help, or just like this page, please feel free to let me know by leaving a comment using the form bellow.
I will be happy to read every comment and, if necessary, I will do my best to respond as quickly as possible. Of course, spammers are welcome only as readers.