Last active
May 22, 2022 17:07
-
-
Save dharmx/4327b9235cd1918881d47800f6596af5 to your computer and use it in GitHub Desktop.
EWW box image example.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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 |
Author
dharmx
commented
May 22, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment