mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
grid-template
This commit is contained in:
parent
766065973d
commit
5dba6315ac
2 changed files with 19 additions and 1 deletions
|
|
@ -897,6 +897,7 @@ handles how elements are treated by the browser layout engine.
|
|||
|
||||
Tip - 1 1 1 1 = repeat(4,1fr) also minmax()
|
||||
|
||||
grid-template
|
||||
grid-template-columns
|
||||
grid-template-rows
|
||||
grid-template-areas
|
||||
|
|
@ -1009,6 +1010,22 @@ flex-basis (default :auto = use width or height) for CLOG-ELEMENT"))
|
|||
(defmethod (setf flex-direction) (value (obj clog-element))
|
||||
(setf (style obj "flex-direction") value))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
;; grid-template ;;
|
||||
;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defgeneric grid-template (clog-element)
|
||||
(:documentation "Get/Setf grid-template."))
|
||||
|
||||
(defmethod grid-template ((obj clog-element))
|
||||
(style obj "grid-template"))
|
||||
|
||||
(defgeneric (setf grid-template) (value clog-element)
|
||||
(:documentation "Set grid-template VALUE for CLOG-ELEMENT"))
|
||||
|
||||
(defmethod (setf grid-template) (value (obj clog-element))
|
||||
(setf (style obj "grid-template") value))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; grid-template-columns ;;
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
|
|
|||
|
|
@ -281,6 +281,7 @@ embedded in a native template application.)"
|
|||
(flex-wrap generic-function)
|
||||
(flex-direction-type type)
|
||||
(flex-direction generic-function)
|
||||
(grid-template generic-function)
|
||||
(grid-template-columns generic-function)
|
||||
(grid-template-rows generic-function)
|
||||
(grid-template-areas generic-function)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue