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
|
|
@ -896,7 +896,8 @@ handles how elements are treated by the browser layout engine.
|
||||||
properties to adjust for container are:
|
properties to adjust for container are:
|
||||||
|
|
||||||
Tip - 1 1 1 1 = repeat(4,1fr) also minmax()
|
Tip - 1 1 1 1 = repeat(4,1fr) also minmax()
|
||||||
|
|
||||||
|
grid-template
|
||||||
grid-template-columns
|
grid-template-columns
|
||||||
grid-template-rows
|
grid-template-rows
|
||||||
grid-template-areas
|
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))
|
(defmethod (setf flex-direction) (value (obj clog-element))
|
||||||
(setf (style obj "flex-direction") value))
|
(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 ;;
|
;; grid-template-columns ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
|
||||||
|
|
@ -281,6 +281,7 @@ embedded in a native template application.)"
|
||||||
(flex-wrap generic-function)
|
(flex-wrap generic-function)
|
||||||
(flex-direction-type type)
|
(flex-direction-type type)
|
||||||
(flex-direction generic-function)
|
(flex-direction generic-function)
|
||||||
|
(grid-template generic-function)
|
||||||
(grid-template-columns generic-function)
|
(grid-template-columns generic-function)
|
||||||
(grid-template-rows generic-function)
|
(grid-template-rows generic-function)
|
||||||
(grid-template-areas generic-function)
|
(grid-template-areas generic-function)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue