Just starting out? Need help? Post your questions and find answers here.
Stefan
 
Posts: 27
Joined: Mon Feb 05, 2018 9:44 pm

css and google fonts

by Stefan Fri Mar 09, 2018 7:11 am

How can I use css backgrounds and google fonts in SB?
pf shadoko
 
Posts: 74
Joined: Thu May 26, 2016 11:09 am

Re: css and google fonts

by pf shadoko Tue Mar 13, 2018 7:16 pm

Code: Select all
!$('head').append('<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />');

Macro gicon(nom)
    "<i class='material-icons' style='font-size:40px'>"+nom+"</i>"
EndMacro


OpenWindow(1,0,0,800,600,"",#PB_Window_ScreenCentered)
ButtonGadget(0,10,10,100,50,gicon("home"))
Return to Coding Questions

Who is online

Users browsing this forum: No registered users and 2 guests