class Playbook::PbBackground::Background
def classname
def classname generate_classname("pb_background_kit", image_classname, separator: " ") end
def custom_background_color
def custom_background_color "background-color: #{custom_color}; background-position: #{background_position}" end
def image_classname
def image_classname background_class = custom_color.present? ? "pb_background_custom_color" : "pb_background_color_#{background_color}" background_class_lazy = image_url.present? ? " lazyload #{transition}" : "" "#{background_class}#{background_class_lazy}" end