Skip to content

Instantly share code, notes, and snippets.

@dharmx
Last active May 22, 2022 17:07
Show Gist options
  • Save dharmx/4327b9235cd1918881d47800f6596af5 to your computer and use it in GitHub Desktop.
Save dharmx/4327b9235cd1918881d47800f6596af5 to your computer and use it in GitHub Desktop.
EWW box image example.
box box {
background-image: url("https://runt-of-the-web.com/wordpress/wp-content/uploads/2013/05/shibe-meme-blazed.jpg");
border-radius: 20%;
color: red;
font-size: 30;
font-weight: bolder;
background-repeat: no-repeat;
}
// vim:ft=scss
(defwindow test :geometry
(geometry :anchor "center" :width "25%" :height "45%")
(image-test))
(defwidget image-test [] (box :orientation "v" (box "This is a rounded box.")))
;; vim:ft=yuck
@dharmx
Copy link
Author

dharmx commented May 22, 2022

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment